Skip to content

Commit e7417ba

Browse files
CLOUDP-184341: add flag for compacting list results (#2009)
Co-authored-by: Sarah Simpers <[email protected]>
1 parent f99adb7 commit e7417ba

29 files changed

+316
-9
lines changed

docs/atlascli/command/atlas-alerts-settings-list.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,10 @@ Options
3737
- Type
3838
- Required
3939
- Description
40+
* - -c, --compact
41+
-
42+
- false
43+
- Flag that enables the compact array response structure for a json output. The --compact option returns array objects as top-level responses and allows backward compatibility for scripts based on previous CLI versions. Omitting the --compact option for a json output returns array objects within a 'results' sub-array. You must specify --output json to use this option.
4044
* - -h, --help
4145
-
4246
- false

docs/atlascli/command/atlas-dbusers-list.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,10 @@ Options
3737
- Type
3838
- Required
3939
- Description
40+
* - -c, --compact
41+
-
42+
- false
43+
- Flag that enables the compact array response structure for a json output. The --compact option returns array objects as top-level responses and allows backward compatibility for scripts based on previous CLI versions. Omitting the --compact option for a json output returns array objects within a 'results' sub-array. You must specify --output json to use this option.
4044
* - -h, --help
4145
-
4246
- false

docs/atlascli/command/atlas-organizations-apiKeys-list.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,10 @@ Options
3737
- Type
3838
- Required
3939
- Description
40+
* - -c, --compact
41+
-
42+
- false
43+
- Flag that enables the compact array response structure for a json output. The --compact option returns array objects as top-level responses and allows backward compatibility for scripts based on previous CLI versions. Omitting the --compact option for a json output returns array objects within a 'results' sub-array. You must specify --output json to use this option.
4044
* - -h, --help
4145
-
4246
- false

docs/atlascli/command/atlas-processes-list.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,10 @@ Options
3737
- Type
3838
- Required
3939
- Description
40+
* - -c, --compact
41+
-
42+
- false
43+
- Flag that enables the compact array response structure for a json output. The --compact option returns array objects as top-level responses and allows backward compatibility for scripts based on previous CLI versions. Omitting the --compact option for a json output returns array objects within a 'results' sub-array. You must specify --output json to use this option.
4044
* - -h, --help
4145
-
4246
- false

docs/atlascli/command/atlas-projects-apiKeys-list.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,10 @@ Options
3737
- Type
3838
- Required
3939
- Description
40+
* - -c, --compact
41+
-
42+
- false
43+
- Flag that enables the compact array response structure for a json output. The --compact option returns array objects as top-level responses and allows backward compatibility for scripts based on previous CLI versions. Omitting the --compact option for a json output returns array objects within a 'results' sub-array. You must specify --output json to use this option.
4044
* - -h, --help
4145
-
4246
- false

docs/atlascli/command/atlas-projects-users-list.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,10 @@ Options
3737
- Type
3838
- Required
3939
- Description
40+
* - -c, --compact
41+
-
42+
- false
43+
- Flag that enables the compact array response structure for a json output. The --compact option returns array objects as top-level responses and allows backward compatibility for scripts based on previous CLI versions. Omitting the --compact option for a json output returns array objects within a 'results' sub-array. You must specify --output json to use this option.
4044
* - -h, --help
4145
-
4246
- false

docs/atlascli/command/atlas-teams-list.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,10 @@ Options
3737
- Type
3838
- Required
3939
- Description
40+
* - -c, --compact
41+
-
42+
- false
43+
- Flag that enables the compact array response structure for a json output. The --compact option returns array objects as top-level responses and allows backward compatibility for scripts based on previous CLI versions. Omitting the --compact option for a json output returns array objects within a 'results' sub-array. You must specify --output json to use this option.
4044
* - -h, --help
4145
-
4246
- false

docs/atlascli/command/atlas-teams-users-list.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,10 @@ Options
3737
- Type
3838
- Required
3939
- Description
40+
* - -c, --compact
41+
-
42+
- false
43+
- Flag that enables the compact array response structure for a json output. The --compact option returns array objects as top-level responses and allows backward compatibility for scripts based on previous CLI versions. Omitting the --compact option for a json output returns array objects within a 'results' sub-array. You must specify --output json to use this option.
4044
* - -h, --help
4145
-
4246
- false

docs/mongocli/command/mongocli-atlas-dbusers-list.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,10 @@ Options
3737
- Type
3838
- Required
3939
- Description
40+
* - -c, --compact
41+
-
42+
- false
43+
- Flag that enables the compact array response structure for a json output. The --compact option returns array objects as top-level responses and allows backward compatibility for scripts based on previous CLI versions. Omitting the --compact option for a json output returns array objects within a 'results' sub-array. You must specify --output json to use this option.
4044
* - -h, --help
4145
-
4246
- false

docs/mongocli/command/mongocli-atlas-processes-list.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,10 @@ Options
3737
- Type
3838
- Required
3939
- Description
40+
* - -c, --compact
41+
-
42+
- false
43+
- Flag that enables the compact array response structure for a json output. The --compact option returns array objects as top-level responses and allows backward compatibility for scripts based on previous CLI versions. Omitting the --compact option for a json output returns array objects within a 'results' sub-array. You must specify --output json to use this option.
4044
* - -h, --help
4145
-
4246
- false

0 commit comments

Comments
 (0)