cortexapps-cli 0.24.3__tar.gz → 0.25.0__tar.gz

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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: cortexapps-cli
3
- Version: 0.24.3
3
+ Version: 0.25.0
4
4
  Summary: Command Line Interface for cortexapps
5
5
  License: MIT
6
6
  Author: Cortex Apps
@@ -1011,13 +1011,13 @@ def subparser_catalog_list(subparser):
1011
1011
  'list',
1012
1012
  help='List all entities across the Service, Resource and Domain Catalogs.\n This API returns summary data for each entity, so refer to the retrieve entity method to lookup more details for a single entity.'
1013
1013
  )
1014
- add_argument_groups(sp)
1015
1014
  sp.add_argument(
1016
- '-o',
1017
- '--owners',
1018
- help='Filter based on owner group names, which correspond to the x-cortex-owners field in the Catalog Descriptor. Accepts a comma-delimited list of owner group names',
1019
- default=argparse.SUPPRESS,
1020
- metavar=''
1015
+ '-a',
1016
+ '--includeArchived',
1017
+ help='Whether to include archived entities in the response, default to false',
1018
+ default=False,
1019
+ action='store_true',
1020
+ required=False
1021
1021
  )
1022
1022
  sp.add_argument(
1023
1023
  '-d',
@@ -1026,13 +1026,7 @@ def subparser_catalog_list(subparser):
1026
1026
  default='full',
1027
1027
  metavar=''
1028
1028
  )
1029
- sp.add_argument(
1030
- '-r',
1031
- '--gitRepositories',
1032
- help='Supports only GitHub repositories in the org/repo format',
1033
- default=argparse.SUPPRESS,
1034
- metavar=''
1035
- )
1029
+ add_argument_groups(sp)
1036
1030
  sp.add_argument(
1037
1031
  '-i',
1038
1032
  '--includeHierarchyFields',
@@ -1042,24 +1036,17 @@ def subparser_catalog_list(subparser):
1042
1036
  required=False
1043
1037
  )
1044
1038
  sp.add_argument(
1045
- '-t',
1046
- '--types',
1047
- help='Filter the response to specific types of entities. By default, this includes services, resources, and domains. Corresponds to the x-cortex-type field in the Entity Descriptor.',
1039
+ '-in',
1040
+ '--includeNestedFields',
1041
+ help='List of sub fields to include for different types, for example team:members',
1048
1042
  default=argparse.SUPPRESS,
1049
- metavar=''
1050
- )
1051
- sp.add_argument(
1052
- '-a',
1053
- '--includeArchived',
1054
- help='Whether to include archived entities in the response, default to false',
1055
- default=False,
1056
- action='store_true',
1043
+ metavar='',
1057
1044
  required=False
1058
1045
  )
1059
1046
  sp.add_argument(
1060
- '-m',
1061
- '--includeMetadata',
1062
- help='Whether to include custom data for each entity in the response',
1047
+ '-io',
1048
+ '--includeOwners',
1049
+ help='Whether to include ownership information for each entity in the response',
1063
1050
  default=False,
1064
1051
  action='store_true',
1065
1052
  required=False
@@ -1073,21 +1060,36 @@ def subparser_catalog_list(subparser):
1073
1060
  required=False
1074
1061
  )
1075
1062
  sp.add_argument(
1076
- '-io',
1077
- '--includeOwners',
1078
- help='Whether to include ownership information for each entity in the response',
1063
+ '-m',
1064
+ '--includeMetadata',
1065
+ help='Whether to include custom data for each entity in the response',
1079
1066
  default=False,
1080
1067
  action='store_true',
1081
1068
  required=False
1082
1069
  )
1083
1070
  sp.add_argument(
1084
- '-in',
1085
- '--includeNestedFields',
1086
- help='List of sub fields to include for different types, for example team:members',
1071
+ '-o',
1072
+ '--owners',
1073
+ help='Filter based on owner group names, which correspond to the x-cortex-owners field in the Catalog Descriptor. Accepts a comma-delimited list of owner group names',
1087
1074
  default=argparse.SUPPRESS,
1088
- metavar='',
1089
- required=False
1075
+ metavar=''
1076
+ )
1077
+ add_argument_page(sp)
1078
+ sp.add_argument(
1079
+ '-r',
1080
+ '--gitRepositories',
1081
+ help='Supports only GitHub repositories in the org/repo format',
1082
+ default=argparse.SUPPRESS,
1083
+ metavar=''
1090
1084
  )
1085
+ sp.add_argument(
1086
+ '-t',
1087
+ '--types',
1088
+ help='Filter the response to specific types of entities. By default, this includes services, resources, and domains. Corresponds to the x-cortex-type field in the Entity Descriptor.',
1089
+ default=argparse.SUPPRESS,
1090
+ metavar=''
1091
+ )
1092
+ add_argument_page_size(sp)
1091
1093
  sp.set_defaults(func=catalog_list)
1092
1094
 
1093
1095
  def catalog_list(args):
@@ -1,7 +1,7 @@
1
1
  [tool.poetry]
2
2
  name = "cortexapps-cli"
3
3
  # version will be incremented via command line as part of github actions build
4
- version = "0.24.3"
4
+ version = "0.25.0"
5
5
  description = "Command Line Interface for cortexapps"
6
6
  license = "MIT"
7
7
  authors = [
File without changes