Skip to content

Commit

Permalink
Remove alias for no-input
Browse files Browse the repository at this point in the history
Apparently, kong `aliases` are only for commands. It did not work as I
had expected. At this point, `--no-input` has been removed. If we want
to keep it for backwards compatibility, I suppose we could add a new
hidden command line arg called `--no-input`. I defer to you for your
thoughts.
  • Loading branch information
pkazmier committed Jul 12, 2022
1 parent c4ed7c0 commit e2b9225
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ var root struct {

NotebookDir string `type:path placeholder:PATH help:"Turn off notebook auto-discovery and set manually the notebook where commands are run."`
WorkingDir string `short:W type:path placeholder:PATH help:"Run as if zk was started in <PATH> instead of the current working directory."`
NoInput NoInput `name:"no-prompt" aliases:"no-input" help:"Never prompt or ask for confirmation."`
NoInput NoInput `name:"no-prompt" help:"Never prompt or ask for confirmation."`
// ForceInput is a debugging flag overriding the default value of interaction prompts.
ForceInput string `hidden xor:"input"`
Debug bool `default:"0" hidden help:"Print a debug stacktrace on SIGINT."`
Expand Down

0 comments on commit e2b9225

Please sign in to comment.