bpoole16 opened a new pull request #2520: Prints bashauto-completion install 
script to STDOUT
URL: https://github.com/apache/incubator-openwhisk/pull/2520
 
 
   This change simply changes the output of the Cobra auto-completion script 
from a file to STDOUT. Originally, `wsk sdk install autobash` would create the 
file `wsk_cli_bash_completion.sh`, but now it will print the contents of the 
Cobra auto-completion script to the terminal. You can now use the command 
``eval "`wsk sdk install autobash`"`` to automatically install the script for 
that instance of the terminal. Adding the eval command to your `.bashrc` or 
`.profile` will keep you from rerunning this command. I have also added the 
flag `--bashrc` that can be used like so `wsk sdk install bashauto --bashrc`. 
This will attempt to find the users `.bashrc` and automatically append the 
previously stated eval command to it. This is expected to work for most users, 
but I have updated the `cli.md` documents to show alternative ways of 
installation. Closes #1221
 
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to