Skip to content

Commit

Permalink
Add basic autocompletion
Browse files Browse the repository at this point in the history
  • Loading branch information
briankassouf committed Aug 22, 2017
1 parent e80808b commit e913090
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions cli/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,11 @@ func RunCustom(args []string, commands map[string]cli.CommandFactory) int {
}

cli := &cli.CLI{
Args: args,
Commands: commands,
HelpFunc: cli.FilteredHelpFunc(commandsInclude, HelpFunc),
Args: args,
Commands: commands,
Name: "vault",
Autocomplete: true,
HelpFunc: cli.FilteredHelpFunc(commandsInclude, HelpFunc),
}

exitCode, err := cli.Run()
Expand Down

0 comments on commit e913090

Please sign in to comment.