inspec/test
Steven Danna afddebaf3f
Add inspec env command to configure shell tab-completion
This adds a new subcommand:

   inspec env [SHELL]

which outputs a shell-appropriate completion script that the user can
source into their shell:

   eval "$(inspec env SHELL)"

Currently, we provide completions for ZSH and Bash. The completion
scripts are generated from the data Thor collects.

If the user doesn't provide SHELL we attempt to detect what the user's
shell may be using a number of methods.

Signed-off-by: Steven Danna <steve@chef.io>
2016-08-10 02:07:53 +01:00
..
cookbooks/os_prepare update kitchen container, activate all in travis 2016-08-05 10:52:03 +02:00
functional revert control_summary field in output 2016-08-08 11:54:27 +02:00
integration/default update kitchen container, activate all in travis 2016-08-05 10:52:03 +02:00
resource Use either /dev/kcore or /dev/core in tests 2016-08-02 14:14:49 +02:00
unit Add inspec env command to configure shell tab-completion 2016-08-10 02:07:53 +01:00
docker_run.rb bugfix: clean up failed dockerized tests 2016-01-19 15:48:06 +01:00
docker_test.rb Explicitly require docker transport to avoid autoload bug 2016-08-05 17:58:20 +01:00
helper.rb add params and content method to parse_config 2016-08-05 12:13:56 +02:00
test-extra.yaml split up tests for travis 2015-09-23 01:51:51 +02:00
test.yaml split up tests for travis 2015-09-23 01:51:51 +02:00