@contrail/cli 3.6.0-alpha-8-alpha.6d0c626 → 3.6.0-alpha-8-alpha.e4ae6bd

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,5 +1,5 @@
1
1
  {
2
- "version": "3.6.0-alpha-8-alpha.6d0c626",
2
+ "version": "3.6.0-alpha-8-alpha.e4ae6bd",
3
3
  "commands": {
4
4
  "app:create": {
5
5
  "id": "app:create",
@@ -771,7 +771,7 @@
771
771
  "skipHydrateRelationships": {
772
772
  "name": "skipHydrateRelationships",
773
773
  "type": "boolean",
774
- "char": "s",
774
+ "char": "S",
775
775
  "description": "If true, does not hydrate relationships for the created entities",
776
776
  "required": false,
777
777
  "allowNo": false
@@ -787,14 +787,16 @@
787
787
  },
788
788
  "entities:delete": {
789
789
  "id": "entities:delete",
790
- "description": "(BETA) Delete an entity",
791
- "strict": true,
790
+ "description": "(BETA) Delete entities by id",
791
+ "strict": false,
792
792
  "pluginName": "@contrail/cli",
793
793
  "pluginAlias": "@contrail/cli",
794
794
  "pluginType": "core",
795
795
  "aliases": [],
796
796
  "examples": [
797
- "contrail entities delete color 123"
797
+ "contrail entities delete color 123",
798
+ "contrail entities delete color id1 id2 id3",
799
+ "contrail entities delete item -i ids.json"
798
800
  ],
799
801
  "flags": {
800
802
  "logLevel": {
@@ -828,22 +830,15 @@
828
830
  "name": "dryRun",
829
831
  "type": "boolean",
830
832
  "char": "d",
831
- "description": "If true, does not delete the entity but simulates the deletion",
833
+ "description": "If true, does not delete the entities but simulates the deletion",
832
834
  "required": false,
833
835
  "allowNo": false
834
836
  },
835
- "input": {
836
- "name": "input",
837
+ "inputFile": {
838
+ "name": "inputFile",
837
839
  "type": "option",
838
840
  "char": "i",
839
- "description": "A JSON array of objects where each object is one entity to create. Cannot be used with --count. Unless --precise is specified, any missing values will be populated with random values.",
840
- "required": false,
841
- "multiple": false
842
- },
843
- "id": {
844
- "name": "id",
845
- "type": "option",
846
- "description": "The unique identifier of the entity",
841
+ "description": "A file with a JSON array of objects; only each object's id is used. Deletes every entity in the file.",
847
842
  "required": false,
848
843
  "multiple": false
849
844
  }
@@ -853,6 +848,11 @@
853
848
  "name": "entityName",
854
849
  "description": "The name of the entity type to delete",
855
850
  "required": true
851
+ },
852
+ "ids": {
853
+ "name": "ids",
854
+ "description": "One or more entity ids to delete",
855
+ "required": false
856
856
  }
857
857
  }
858
858
  },
@@ -865,6 +865,8 @@
865
865
  "pluginType": "core",
866
866
  "aliases": [],
867
867
  "examples": [
868
+ "contrail entities get color 123",
869
+ "contrail entities get color id1 id2 id3",
868
870
  "contrail entities get color -- id=123",
869
871
  "contrail entities get loader-processes -- createdOn=2025-09-15..2025-09-16",
870
872
  "contrail entities get orders -- updatedAt=2025-09-15T04:00:00Z..",
@@ -960,6 +962,11 @@
960
962
  "name": "typePath",
961
963
  "description": "The name of the entity type to fetch",
962
964
  "required": true
965
+ },
966
+ "ids": {
967
+ "name": "ids",
968
+ "description": "One or more entity ids; shorthand for the id/ids criteria",
969
+ "required": false
963
970
  }
964
971
  }
965
972
  },
@@ -973,6 +980,7 @@
973
980
  "aliases": [],
974
981
  "examples": [
975
982
  "contrail entities update color 123 -- name=obsidian hex=000000",
983
+ "contrail entities update item id1 id2 id3 -- status=archived # apply the same change to several entities",
976
984
  "contrail entities update color 123 -- description= notes='\"\"' # Unset description, set notes to empty string"
977
985
  ],
978
986
  "flags": {
@@ -1006,7 +1014,7 @@
1006
1014
  "skipHydrateRelationships": {
1007
1015
  "name": "skipHydrateRelationships",
1008
1016
  "type": "boolean",
1009
- "char": "s",
1017
+ "char": "S",
1010
1018
  "description": "Skip hydrating relationships when updating the entity",
1011
1019
  "required": false,
1012
1020
  "allowNo": false
@@ -1042,9 +1050,9 @@
1042
1050
  "description": "The name of the entity type to update",
1043
1051
  "required": true
1044
1052
  },
1045
- "id": {
1046
- "name": "id",
1047
- "description": "The unique identifier of the entity",
1053
+ "ids": {
1054
+ "name": "ids",
1055
+ "description": "One or more entity ids to update",
1048
1056
  "required": false
1049
1057
  }
1050
1058
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@contrail/cli",
3
- "version": "3.6.0-alpha-8-alpha.6d0c626",
3
+ "version": "3.6.0-alpha-8-alpha.e4ae6bd",
4
4
  "description": "VibeIQ's Contrail Platform CLI.",
5
5
  "bin": {
6
6
  "contrail-cli": "./bin/run",