@bussolabs/closeyourit-cli 0.3.0 → 0.4.0

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.
package/opencli.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "opencli": "0.1",
4
4
  "info": {
5
5
  "title": "closeyourit",
6
- "version": "0.2.1",
6
+ "version": "0.4.0",
7
7
  "summary": "CLI for CloseYourIt",
8
8
  "description": "Manage organization, projects, error monitoring, ingest tokens, tickets and performance metrics with your CloseYourIt user token.",
9
9
  "license": {
@@ -855,6 +855,101 @@
855
855
  "closeyourit tokens create --project acme-api --name \"CI prod\" --environment-id <env-id>"
856
856
  ]
857
857
  },
858
+ {
859
+ "name": "provision",
860
+ "description": "Generate an ingest token and deliver it without revealing the secret.",
861
+ "options": [
862
+ {
863
+ "name": "--project",
864
+ "aliases": ["-p"],
865
+ "required": true,
866
+ "description": "Project id (UUID) or key.",
867
+ "arguments": [{"name": "PROJECT", "required": true}]
868
+ },
869
+ {
870
+ "name": "--name",
871
+ "required": true,
872
+ "description": "Human-readable token name.",
873
+ "arguments": [{"name": "NAME", "required": true}]
874
+ },
875
+ {
876
+ "name": "--environment-id",
877
+ "required": true,
878
+ "description": "Source environment code or id.",
879
+ "arguments": [{"name": "ENVIRONMENT", "required": true}]
880
+ },
881
+ {
882
+ "name": "--scope",
883
+ "description": "Token scope (repeatable): ingest or read.",
884
+ "arguments": [{"name": "SCOPE"}]
885
+ },
886
+ {
887
+ "name": "--to-project",
888
+ "required": true,
889
+ "description": "Destination project id or key.",
890
+ "arguments": [{"name": "PROJECT", "required": true}]
891
+ },
892
+ {
893
+ "name": "--to-environment-id",
894
+ "required": true,
895
+ "description": "Destination environment code or id.",
896
+ "arguments": [{"name": "ENVIRONMENT", "required": true}]
897
+ },
898
+ {
899
+ "name": "--secret-name",
900
+ "required": true,
901
+ "description": "Destination vault variable name.",
902
+ "arguments": [{"name": "NAME", "required": true}]
903
+ },
904
+ {
905
+ "name": "--idempotency-key",
906
+ "description": "Stable key for safe request retries.",
907
+ "arguments": [{"name": "KEY"}]
908
+ },
909
+ {
910
+ "name": "--sync-github",
911
+ "description": "Synchronize the destination vault to GitHub (use --no-sync-github to disable)."
912
+ },
913
+ {
914
+ "name": "--confirm-production",
915
+ "description": "Required when source or destination is production."
916
+ }
917
+ ]
918
+ },
919
+ {
920
+ "name": "provisions",
921
+ "description": "Inspect and retry secret-free token provisions.",
922
+ "commands": [
923
+ {
924
+ "name": "show",
925
+ "description": "Show secret-free token provision status.",
926
+ "arguments": [{"name": "ID", "required": true, "description": "Provision id."}],
927
+ "options": [
928
+ {
929
+ "name": "--project",
930
+ "aliases": ["-p"],
931
+ "required": true,
932
+ "description": "Project id (UUID) or key.",
933
+ "arguments": [{"name": "PROJECT", "required": true}]
934
+ }
935
+ ]
936
+ },
937
+ {
938
+ "name": "retry",
939
+ "description": "Retry GitHub synchronization without regenerating or revealing the token.",
940
+ "arguments": [{"name": "ID", "required": true, "description": "Provision id."}],
941
+ "options": [
942
+ {
943
+ "name": "--project",
944
+ "aliases": ["-p"],
945
+ "required": true,
946
+ "description": "Project id (UUID) or key.",
947
+ "arguments": [{"name": "PROJECT", "required": true}]
948
+ }
949
+ ]
950
+ }
951
+ ]
952
+ },
858
953
  {
859
954
  "name": "rotate",
860
955
  "description": "Rotate an ingest token (the new secret is shown only once).",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bussolabs/closeyourit-cli",
3
- "version": "0.3.0",
3
+ "version": "0.4.0",
4
4
  "description": "CLI for CloseYourIt — manage org, errors, tokens and tickets with your user token",
5
5
  "publishConfig": {
6
6
  "access": "public"