cortexapps-cli 0.26.0__py3-none-any.whl → 0.26.2__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- cortexapps_cli/cortex.py +23 -23
- {cortexapps_cli-0.26.0.dist-info → cortexapps_cli-0.26.2.dist-info}/METADATA +1 -1
- cortexapps_cli-0.26.2.dist-info/RECORD +7 -0
- cortexapps_cli-0.26.0.dist-info/RECORD +0 -7
- {cortexapps_cli-0.26.0.dist-info → cortexapps_cli-0.26.2.dist-info}/LICENSE +0 -0
- {cortexapps_cli-0.26.0.dist-info → cortexapps_cli-0.26.2.dist-info}/WHEEL +0 -0
- {cortexapps_cli-0.26.0.dist-info → cortexapps_cli-0.26.2.dist-info}/entry_points.txt +0 -0
cortexapps_cli/cortex.py
CHANGED
|
@@ -294,6 +294,15 @@ def add_argument_groups(subparser):
|
|
|
294
294
|
metavar=''
|
|
295
295
|
)
|
|
296
296
|
|
|
297
|
+
def add_argument_hierarchyDepth(subparser):
|
|
298
|
+
subparser.add_argument(
|
|
299
|
+
'-d',
|
|
300
|
+
'--hierarchy-depth',
|
|
301
|
+
help='Depth of the parent / children hierarchy nodes. Can be \'full\' or a valid integer',
|
|
302
|
+
default='full',
|
|
303
|
+
metavar=''
|
|
304
|
+
)
|
|
305
|
+
|
|
297
306
|
def add_argument_id(subparser, help_text='The id of the CQL query'):
|
|
298
307
|
subparser.add_argument(
|
|
299
308
|
'-i',
|
|
@@ -324,6 +333,16 @@ def add_argument_includeDrafts(subparser, help_text='Include plugin drafts.'):
|
|
|
324
333
|
action='store_true'
|
|
325
334
|
)
|
|
326
335
|
|
|
336
|
+
def add_argument_includeHierarchyFields(subparser):
|
|
337
|
+
subparser.add_argument(
|
|
338
|
+
'-i',
|
|
339
|
+
'--includeHierarchyFields',
|
|
340
|
+
help='List of sub fields to include for hierarchies. Only supports \'groups\'',
|
|
341
|
+
required=False,
|
|
342
|
+
default=argparse.SUPPRESS,
|
|
343
|
+
metavar=''
|
|
344
|
+
)
|
|
345
|
+
|
|
327
346
|
def add_argument_includeIncoming(subparser, help_text='Including incoming dependencies.'):
|
|
328
347
|
subparser.add_argument(
|
|
329
348
|
'-i',
|
|
@@ -1025,22 +1044,9 @@ def subparser_catalog_list(subparser):
|
|
|
1025
1044
|
action='store_true',
|
|
1026
1045
|
required=False
|
|
1027
1046
|
)
|
|
1028
|
-
sp
|
|
1029
|
-
'-d',
|
|
1030
|
-
'--hierarchy-depth',
|
|
1031
|
-
help='Depth of the parent / children hierarchy nodes. Can be \'full\' or a valid integer',
|
|
1032
|
-
default='full',
|
|
1033
|
-
metavar=''
|
|
1034
|
-
)
|
|
1047
|
+
add_argument_hierarchyDepth(sp)
|
|
1035
1048
|
add_argument_groups(sp)
|
|
1036
|
-
sp
|
|
1037
|
-
'-i',
|
|
1038
|
-
'--includeHierarchyFields',
|
|
1039
|
-
help='List of sub fields to include for hierarchies. Only supports \'groups\'',
|
|
1040
|
-
default=False,
|
|
1041
|
-
action='store_true',
|
|
1042
|
-
required=False
|
|
1043
|
-
)
|
|
1049
|
+
add_argument_includeHierarchyFields(sp)
|
|
1044
1050
|
sp.add_argument(
|
|
1045
1051
|
'-in',
|
|
1046
1052
|
'--includeNestedFields',
|
|
@@ -1123,14 +1129,8 @@ def catalog_descriptor(args):
|
|
|
1123
1129
|
|
|
1124
1130
|
def subparser_catalog_details(subparser):
|
|
1125
1131
|
sp = subparser.add_parser('details', help='Retrieve entity details')
|
|
1126
|
-
sp
|
|
1127
|
-
|
|
1128
|
-
'--includeHierarchyFields',
|
|
1129
|
-
help='List of sub fields to include for hierarchies. Only supports \'groups\'',
|
|
1130
|
-
default=argparse.SUPPRESS,
|
|
1131
|
-
metavar=''
|
|
1132
|
-
)
|
|
1133
|
-
add_argument_groups(sp)
|
|
1132
|
+
add_argument_includeHierarchyFields(sp)
|
|
1133
|
+
add_argument_hierarchyDepth(sp)
|
|
1134
1134
|
add_argument_tag(sp)
|
|
1135
1135
|
sp.set_defaults(func=catalog_details)
|
|
1136
1136
|
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
cortexapps_cli/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
2
|
+
cortexapps_cli/cortex.py,sha256=NXmtBFB_vlDdmEyTjooMR_u6SkfvfLk7HJLHc1Mha7E,155769
|
|
3
|
+
cortexapps_cli-0.26.2.dist-info/LICENSE,sha256=7EI8xVBu6h_7_JlVw-yPhhOZlpY9hP8wal7kHtqKT_E,1074
|
|
4
|
+
cortexapps_cli-0.26.2.dist-info/METADATA,sha256=qiaA86cgca6paBrWYFmnAApnJbUcrFCViLCy0SFArE8,22135
|
|
5
|
+
cortexapps_cli-0.26.2.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
|
|
6
|
+
cortexapps_cli-0.26.2.dist-info/entry_points.txt,sha256=w1kTKcdoPY8UvGt6GN4vEk03_SRnUpF2dZflfPQo0BE,52
|
|
7
|
+
cortexapps_cli-0.26.2.dist-info/RECORD,,
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
cortexapps_cli/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
2
|
-
cortexapps_cli/cortex.py,sha256=ESi-ky5HMBuuluYjHdmMo2WxJiN3XXhvuQmjcBVs56s,155761
|
|
3
|
-
cortexapps_cli-0.26.0.dist-info/LICENSE,sha256=7EI8xVBu6h_7_JlVw-yPhhOZlpY9hP8wal7kHtqKT_E,1074
|
|
4
|
-
cortexapps_cli-0.26.0.dist-info/METADATA,sha256=l1IXanv7lFoiVU-SRMBzXd6fQmw5Zfzu02_6HpPP8P8,22135
|
|
5
|
-
cortexapps_cli-0.26.0.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
|
|
6
|
-
cortexapps_cli-0.26.0.dist-info/entry_points.txt,sha256=w1kTKcdoPY8UvGt6GN4vEk03_SRnUpF2dZflfPQo0BE,52
|
|
7
|
-
cortexapps_cli-0.26.0.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|