Skip to content

Commit

Permalink
bugs
Browse files Browse the repository at this point in the history
  • Loading branch information
brianLoomis committed Jul 18, 2023
1 parent cfb0d7c commit 2929080
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 18 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ Sample application for building backend jobs
# How to build & extend the sample CLI application

How this was made
- go mod init github.com/chef/arch-sample-cli
- go mod init github.com/habitat-sh/arch-sample-job
- go get -u github.com/spf13/cobra@latest
- go install github.com/spf13/cobra-cli@latest
- go mod tidy
Expand All @@ -25,8 +25,8 @@ Then
- go vet (check for folder, dep, syntax issues)

To build (command-line terminal in VSCode)
- go build -o bin/arch-sample-cli .
- go run .\main.go -- or -- ./bin/arch-sample-cli
- go build -o bin/arch-sample-job .
- go run .\main.go -- or -- ./bin/arch-sample-job
- to do a flag, go run . get (get called)

Or you can use the github workflows
Expand Down
Binary file added bin/arch-sample-job
Binary file not shown.
15 changes: 1 addition & 14 deletions cmd/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -80,17 +80,4 @@ func initConfig() {
}
}










func init() {

}


func init() {}
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module habitat-sh/arch-sample-job
module github.com/habitat-sh/arch-sample-job

go 1.20

Expand Down
1 change: 1 addition & 0 deletions helloworld.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ package main

import (
// internal/local imports: use an alias and always put in quotation marks
//"cmd"
"github.com/habitat-sh/arch-sample-job/cmd"

// external imports
Expand Down

0 comments on commit 2929080

Please sign in to comment.