-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
CLI Documentation update / CLI small bug fixes and format updates (#726)
* updated describe commands to output entries in title format to be consistent * fixed error where calling 'geoips' without any arguments would cause an index error * fixed small bug where columns didn't work with geoips list packages * updated CLI documentation to reflect current state of the CLI * updated geoips list packages unit test for new changes * added release notes for this PR
- Loading branch information
Showing
9 changed files
with
136 additions
and
74 deletions.
There are no files selected for viewing
29 changes: 29 additions & 0 deletions
29
docs/source/releases/latest/CLI-documentation-update-for-workshop.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
bug fix: | ||
- description: | | ||
This PR fixed small bugs and formatting inconsistencies with the CLI. Specifically, | ||
this PR addressed the format of the output of 'geoips describe' commands, to make | ||
the keys in the yaml output all be in title format rather than (some_val:) vs. | ||
(Some Val:). In this PR we were working on getting CLI documentation up to date, | ||
and discovered a bug with 'geoips list packages' where the '--columns' flag was not | ||
actually working. This was a simple fix and that functionality is now working as | ||
expected. Unit tests have been updated to address these changes. | ||
files: | ||
modified: | ||
- geoips/commandline/commandline_interface.py | ||
- geoips/commandline/geoips_command.py | ||
- geoips/commandline/geoips_describe.py | ||
- geoips/commandline/geoips_list.py | ||
- tests/unit_tests/commandline/test_geoips_describe_interface.py | ||
- tests/unit_tests/commandline/test_geoips_plugin.py | ||
- tests/unit_tests/commandline/test_geoips_list_packages.py | ||
title: 'CLI Bug Fixes and Formatting Updates' | ||
documentation: | ||
- description: | | ||
This PR updated the CLI documentation to reflect the current state of the CLI code. | ||
Largely, this PR went through the documentation of the CLI commands and made sure | ||
that what was documented matched what would actually happen when that command was | ||
ran. There was a duplicate entry in the documentation that was removed as well. | ||
files: | ||
modified: | ||
- docs/source/userguide/commandl_line.rst | ||
title: 'Updated CLI Documentation to reflect the current state of the CLI' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters