From ddf809c29fbac9a01335556e3079096b9a6932b1 Mon Sep 17 00:00:00 2001 From: Nathan Hemingway Date: Tue, 10 Dec 2019 21:11:39 -0800 Subject: [PATCH 1/5] Update README.md --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 3b315fb..88499e7 100644 --- a/README.md +++ b/README.md @@ -13,7 +13,7 @@ moquery uses a unique filtering syntax for the `-f` filter option, e.g. `fv.BD.n reQuery always outputs in JSON; however, the data structure is flattened and is similar to moquery. ### CLI arguments -**Not implemented:** +#### Not implemented `-a --attrs type of attributes to display (config, all)` reQuery always displays all attributes. @@ -23,11 +23,11 @@ reQuery only outputs JSON. `-p --port REST server port` Just add the port to the hostname/IP, e.g. 10.0.0.1:443 -**Renamed:** +#### Renamed `--klass is now --class` Most likely a name clash in Python and is a non-issue for this tool. -**Unique to requery:** +#### Unique to requery `-m --mode :Force mode` By default the mode is determined by the extention, i.e. .tar.gz is a backup file. If this doesn't apply, use the mode option. From d66d8526bd69ce02ddd521c155ea1a829a024931 Mon Sep 17 00:00:00 2001 From: Nathan Hemingway Date: Tue, 10 Dec 2019 21:12:21 -0800 Subject: [PATCH 2/5] Update README.md --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 88499e7..8fdfdcd 100644 --- a/README.md +++ b/README.md @@ -13,7 +13,7 @@ moquery uses a unique filtering syntax for the `-f` filter option, e.g. `fv.BD.n reQuery always outputs in JSON; however, the data structure is flattened and is similar to moquery. ### CLI arguments -#### Not implemented +#### Not implemented: `-a --attrs type of attributes to display (config, all)` reQuery always displays all attributes. @@ -23,11 +23,11 @@ reQuery only outputs JSON. `-p --port REST server port` Just add the port to the hostname/IP, e.g. 10.0.0.1:443 -#### Renamed +#### Renamed: `--klass is now --class` Most likely a name clash in Python and is a non-issue for this tool. -#### Unique to requery +#### Unique to requery: `-m --mode :Force mode` By default the mode is determined by the extention, i.e. .tar.gz is a backup file. If this doesn't apply, use the mode option. From 5375e154286bc028bf4ba9288fbde0e9e191f2b6 Mon Sep 17 00:00:00 2001 From: Nathan Hemingway Date: Tue, 10 Dec 2019 21:13:18 -0800 Subject: [PATCH 3/5] Update README.md --- README.md | 20 +++++++++++++++----- 1 file changed, 15 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 8fdfdcd..bdfb140 100644 --- a/README.md +++ b/README.md @@ -14,20 +14,30 @@ reQuery always outputs in JSON; however, the data structure is flattened and is ### CLI arguments #### Not implemented: -`-a --attrs type of attributes to display (config, all)` +``` +-a --attrs type of attributes to display (config, all) +``` reQuery always displays all attributes. -`-o --output Display format (block, table, xml, json)` +``` +-o --output Display format (block, table, xml, json) +``` reQuery only outputs JSON. -`-p --port REST server port` +``` +-p --port REST server port +``` Just add the port to the hostname/IP, e.g. 10.0.0.1:443 #### Renamed: -`--klass is now --class` +``` +--klass is now --class +``` Most likely a name clash in Python and is a non-issue for this tool. #### Unique to requery: -`-m --mode :Force mode` +``` +-m --mode :Force mode +``` By default the mode is determined by the extention, i.e. .tar.gz is a backup file. If this doesn't apply, use the mode option. From 47ce6a24cab7a8d72185f8d470f0e5f19efdd2b1 Mon Sep 17 00:00:00 2001 From: Nathan Hemingway Date: Tue, 10 Dec 2019 21:14:25 -0800 Subject: [PATCH 4/5] Update README.md --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index bdfb140..e6586e6 100644 --- a/README.md +++ b/README.md @@ -31,9 +31,9 @@ Just add the port to the hostname/IP, e.g. 10.0.0.1:443 #### Renamed: ``` ---klass is now --class +--klass ``` -Most likely a name clash in Python and is a non-issue for this tool. +This was renamed to `--class` for consistency. #### Unique to requery: From a9fdf910b65d55c798a5afc7d973d3dc427ace56 Mon Sep 17 00:00:00 2001 From: Nathan Hemingway Date: Tue, 10 Dec 2019 21:31:50 -0800 Subject: [PATCH 5/5] Update README.md --- README.md | 27 +++++++-------------------- 1 file changed, 7 insertions(+), 20 deletions(-) diff --git a/README.md b/README.md index e6586e6..bc76917 100644 --- a/README.md +++ b/README.md @@ -13,31 +13,18 @@ moquery uses a unique filtering syntax for the `-f` filter option, e.g. `fv.BD.n reQuery always outputs in JSON; however, the data structure is flattened and is similar to moquery. ### CLI arguments + #### Not implemented: -``` --a --attrs type of attributes to display (config, all) -``` -reQuery always displays all attributes. -``` --o --output Display format (block, table, xml, json) -``` -reQuery only outputs JSON. +`-a --attrs` - reQuery always displays all attributes. Use external tools like awk and grep to limit results to config only. + +`-o --output` - reQuery only outputs JSON. -``` --p --port REST server port -``` -Just add the port to the hostname/IP, e.g. 10.0.0.1:443 +`-p --port` - Just add the port to the hostname/IP, e.g. `10.0.0.1:443` #### Renamed: -``` ---klass -``` -This was renamed to `--class` for consistency. +`-c --klass` - This was renamed to `-c --class`. #### Unique to requery: -``` --m --mode :Force mode -``` -By default the mode is determined by the extention, i.e. .tar.gz is a backup file. If this doesn't apply, use the mode option. +`-m --mode` - By default the mode is determined by the extention, i.e. .tar.gz is a backup file. If this doesn't apply, use the mode option to specify `http` or `backup`.