@govuk-pay/cli
Advanced tools
Comparing version 0.0.51 to 0.0.52
{ | ||
"name": "@govuk-pay/cli", | ||
"version": "0.0.51", | ||
"version": "0.0.52", | ||
"description": "GOV.UK Pay Command Line Interface", | ||
@@ -5,0 +5,0 @@ "bin": { |
@@ -43,2 +43,13 @@ # pay-cli | ||
### Shell auto completion | ||
If you want to enable tab completion of commands and parameters then you can run | ||
``` | ||
pay completion | ||
``` | ||
This will generate a script (for bash or zsh only) which you can put at the end of your .bashrc or .zshrc that will cause your | ||
shell to provide auto completions. | ||
### Config files | ||
@@ -45,0 +56,0 @@ |
@@ -21,2 +21,3 @@ "use strict"; | ||
.wrap(yargsInstance.terminalWidth()) | ||
.completion('completion', 'Generate shell (bash/zsh only) auto-completion script. Put the script at the end of your .bashrc or .zshrc') | ||
.parse(); | ||
@@ -23,0 +24,0 @@ } |
481334
4838
72