$ 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.
Current situation
Running:
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
orgo-shamir
command.**Implementation options
Or even more simply just put the
main.go
in the repository root.