Skip to content
Branch: master
Find file History
cdrage and openshift-merge-robot Errors out if json machine output has not been implemented (#2160)
* Errors out if json machine output has not been implemented

This PR:

 - Moves annotations to `&cobra.Command` struct creation rather than
 using the command to add it
 - Errors out if `-o json` has been passed, but json support has not
 been added
 - Hides the `-o json` command if it's not impemented
 - Solves the issue of #2031
 - Changes "Global Flags" to "Additional Flags"

Closes #2031

* Remove -o from global flags when doing --help
Latest commit 1269395 Oct 21, 2019
Permalink
Type Name Latest commit message Commit time
..
Failed to load latest commit information.
application Machine output for `odo app list` should be `Kind: List` (#2228) Oct 7, 2019
auth Remove Suraj from OWNERS and replace him with Dharmit (#2011) Aug 13, 2019
catalog show warning for unsupported image types (#2279) Oct 14, 2019
component
config odo experimental debug port-forward command (#2043) Sep 20, 2019
debug odo experimental debug port-forward command (#2043) Sep 20, 2019
log Updates `odo describe` output (#2231) Oct 7, 2019
machineoutput show formatted json for machine readable output (#2267) Oct 11, 2019
notify Fixes links to the install script (#1814) Jun 13, 2019
occlient Updating default bootstrapper image to GA'ed image (#2292) Oct 17, 2019
odo Errors out if json machine output has not been implemented (#2160) Oct 21, 2019
preference add defaults to the available global params (#2038) Aug 23, 2019
project Adds unit test for project list (#2240) Oct 4, 2019
secret Remove Suraj from OWNERS and replace him with Dharmit (#2011) Aug 13, 2019
service Refactor and updates catalog code (#2133) Sep 20, 2019
storage Storage workflow (#1547) May 16, 2019
testingutil add unsupported and supported components (#2029) Sep 11, 2019
url List all urls even if they are only in local config or only in cluster ( Aug 30, 2019
util show formatted json for machine readable output (#2267) Oct 11, 2019
You can’t perform that action at this time.