summaryrefslogtreecommitdiff
path: root/lib/chef/knife/config_list_profiles.rb
Commit message (Collapse)AuthorAgeFilesLines
* remove duplication of deprecated optionsVivek Singh2020-08-261-113/+7
| | | | Signed-off-by: Vivek Singh <vivek.singh@msystechnologies.com>
* Merge pull request #10341 from chef/VSingh/add-tty-tableTim Smith2020-08-251-26/+39
|\ | | | | knife config list-profiles UI with tty-table
| * require tty-screenVSingh/add-tty-tableVivek Singh2020-08-251-0/+1
| | | | | | | | Signed-off-by: Vivek Singh <vivek.singh@msystechnologies.com>
| * Remove to_s operation to every itemVivek Singh2020-08-241-1/+1
| | | | | | | | Signed-off-by: Vivek Singh <vivek.singh@msystechnologies.com>
| * Fix failing specsVivek Singh2020-08-241-3/+2
| | | | | | | | Signed-off-by: Vivek Singh <vivek.singh@msystechnologies.com>
| * Add tty-table & render config listVivek Singh2020-08-241-25/+38
| | | | | | | | Signed-off-by: Vivek Singh <vivek.singh@msystechnologies.com>
* | Fix warn message typosVSingh/knife-config-optionsVivek Singh2020-08-251-1/+1
| | | | | | | | Signed-off-by: Vivek Singh <vivek.singh@msystechnologies.com>
* | Add deprecation warningVivek Singh2020-08-251-0/+3
|/ | | | Signed-off-by: Vivek Singh <vivek.singh@msystechnologies.com>
* don't check list-profiles for already selected bad profiledheerajd-msys2020-07-151-1/+4
| | | | Signed-off-by: dheerajd-msys <dheeraj.dubey@msystechnologies.com>
* Lazy load as many knife deps as possibleTim Smith2020-02-061-1/+4
| | | | | | | This gets us a small speedup on my mac, and probably a larger speedup on Windows where the loading hurts more. Signed-off-by: Tim Smith <tsmith@chef.io>
* fix Layout/AlignArgumentslcg/new-chefstyleLamont Granquist2019-07-021-4/+4
| | | | | | | | | | | | | | this is using: Layout/AlignArguments: Enabled: true EnforcedStyle: with_fixed_indentation the default style can use really excessive whitespace. on starting lines which are already long, it fully indents across to where the arguments start and then begins the line there. Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
* fix a bunch of weirdly mangled require linesLamont Granquist2019-05-081-1/+1
| | | | Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
* Convert require to require_relativeLamont Granquist2019-05-081-2/+2
| | | | | | | This gives a speed boost since rubygems does not have to scan through every gem in the gemset in order to find the file. Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
* Update a few more knife.rb references to include config.rbTim Smith2019-05-071-1/+1
| | | | | | Most of the knife.rb mentions have been updated and the docs have been updated already. Mention both since every existing user is only familiar with knfie.rb. Signed-off-by: Tim Smith <tsmith@chef.io>
* Make knife command banners consistentknife_descriptionsTim Smith2018-11-041-1/+1
| | | | | | Add (options) everywhere you can pass in options. Signed-off-by: Tim Smith <tsmith@chef.io>
* Make sure knife descriptions all have periodsknife_sentences_2Tim Smith2018-07-161-1/+1
| | | | | | Some did. Some didn't. Looks weird that way. Signed-off-by: Tim Smith <tsmith@chef.io>
* Feed the rubocop.Noah Kantrowitz2018-07-111-5/+5
| | | | Signed-off-by: Noah Kantrowitz <noah@coderanger.net>
* New `knife config list-profiles` command to show available profiles.Noah Kantrowitz2018-07-111-0/+121
Signed-off-by: Noah Kantrowitz <noah@coderanger.net>