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

[RFE] go install command name to be shamir or go-shamir instead of cli #5

Open
dougnukem opened this issue Jun 8, 2021 · 0 comments

Comments

@dougnukem
Copy link

Current situation

Running:

$ go install github.com/kinvolk/go-shamir/cli@latest
$ cli --help
Usage:
  shamir [command]

Available Commands:
  combine     Reconstruct a secret from the parts read from stdin
  help        Help about any command
  split       Split an arbitrarily long secret from stdin

Flags:
  -h, --help   help for shamir

Use "shamir [command] --help" for more information about a command.

installs the command to $GOPATH/bin/cli

Impact

Executing the command from $GOPATH/bin/cli is ambiguous.

Ideal future situation

Ideally you'd be able to install the command as shamir or go-shamir command.

**Implementation options

$ go install github.com/kinvolk/go-shamir/cli/shamir@latest
$ shamir --help
Usage:
  shamir [command]
...

Or even more simply just put the main.go in the repository root.

$ go install github.com/kinvolk/go-shamir@latest
$ go-shamir --help
Usage:
  go-shamir [command]
...
@dougnukem dougnukem changed the title [RFE] [RFE] go install command name to be shamir or go-shamir instead of cli Jun 8, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant