Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adds useName emit property, removes unused files, improves tests #60

Merged
merged 2 commits into from
Dec 21, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -79,3 +79,11 @@ needs to have GRPC install. To install, run:
```
pip install grpcio-tools
```

## Go Tests

Run go tests with
```
go clean -testcache
go test ./test/... -v
```
33 changes: 0 additions & 33 deletions cmd/graphmanifest/main.go

This file was deleted.

172 changes: 0 additions & 172 deletions cmd/graphmanifest/scan.go

This file was deleted.

3 changes: 2 additions & 1 deletion cmd/inspect/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ var cmdInputs map[string]string
// Cmd is the declaration of the command line
var Cmd = &cobra.Command{
Use: "inspect",
Short: "Inspect script",
Short: "Inspect a sifter script file to view i/o config setup",
Args: cobra.MinimumNArgs(1),
RunE: func(cmd *cobra.Command, args []string) error {
inputs := map[string]string{}
Expand All @@ -36,6 +36,7 @@ var Cmd = &cobra.Command{
}
var err error
inputs, err = pb.PrepConfig(inputs, "./")
log.Printf("inputs: %s", inputs)
if err != nil {
return err
}
Expand Down
88 changes: 0 additions & 88 deletions cmd/manifest/main.go

This file was deleted.

4 changes: 0 additions & 4 deletions cmd/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,7 @@ package cmd
import (
"os"

"github.com/bmeg/sifter/cmd/graphmanifest"
"github.com/bmeg/sifter/cmd/inspect"
"github.com/bmeg/sifter/cmd/manifest"
"github.com/bmeg/sifter/cmd/run"
"github.com/spf13/cobra"
)
Expand All @@ -20,8 +18,6 @@ var RootCmd = &cobra.Command{
func init() {
RootCmd.AddCommand(run.Cmd)
RootCmd.AddCommand(inspect.Cmd)
RootCmd.AddCommand(manifest.Cmd)
RootCmd.AddCommand(graphmanifest.Cmd)
}

var genBashCompletionCmd = &cobra.Command{
Expand Down
1 change: 1 addition & 0 deletions cmd/run/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ var Cmd = &cobra.Command{
}
}
}

return nil
},
}
Expand Down
Loading
Loading