commit | 46e30cc82e47479f1f7d15b438ea3f6c3bcf1ea5 | [log] [tgz] |
---|---|---|
author | Yuta HIGUCHI <y-higuchi@ak.jp.nec.com> | Thu Feb 02 12:29:34 2017 -0800 |
committer | Ray Milkey <ray@onlab.us> | Wed Feb 08 00:45:48 2017 +0000 |
tree | 3e67b19b76664a4c874bda84a8de35e034593545 | |
parent | dde26b65afc83bc0b5efa4782715854284e726e9 [diff] [blame] |
CLI action to pretty print JSON onos> intents -s -j | pp Change-Id: Iaf398711dfe65acaf517a52cd9ce638d3f30bafb
diff --git a/cli/src/main/resources/OSGI-INF/blueprint/shell-config.xml b/cli/src/main/resources/OSGI-INF/blueprint/shell-config.xml index 1d53f47..0200f5f 100644 --- a/cli/src/main/resources/OSGI-INF/blueprint/shell-config.xml +++ b/cli/src/main/resources/OSGI-INF/blueprint/shell-config.xml
@@ -16,6 +16,11 @@ <blueprint xmlns="http://www.osgi.org/xmlns/blueprint/v1.0.0"> <command-bundle xmlns="http://karaf.apache.org/xmlns/shell/v1.1.0"> + + <command> + <action class="org.onosproject.cli.PrettyJson"/> + </command> + <command> <action class="org.onosproject.cli.SummaryCommand"/> </command>