@contentstack/cli-config 1.21.0 → 1.21.1

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/README.md CHANGED
@@ -18,7 +18,7 @@ $ npm install -g @contentstack/cli-config
18
18
  $ csdx COMMAND
19
19
  running command...
20
20
  $ csdx (--version)
21
- @contentstack/cli-config/1.21.0 linux-x64 node-v22.23.1
21
+ @contentstack/cli-config/1.21.1 linux-x64 node-v22.23.1
22
22
  $ csdx --help [COMMAND]
23
23
  USAGE
24
24
  $ csdx COMMAND
@@ -316,8 +316,8 @@ USAGE
316
316
  $ csdx config:set:ea-header [--header-alias <value>] [--header <value>]
317
317
 
318
318
  FLAGS
319
- --header=<value> (optional) Provide the Early Access header alias name.
320
- --header-alias=<value> (optional) Provide the Early Access header value.
319
+ --header=<value> (optional) Provide the Early Access header value.
320
+ --header-alias=<value> (optional) Provide a name (alias) for this Early Access header.
321
321
 
322
322
  DESCRIPTION
323
323
  Set Early Access header
@@ -340,8 +340,8 @@ USAGE
340
340
  $ csdx config:set:early-access-header [--header-alias <value>] [--header <value>]
341
341
 
342
342
  FLAGS
343
- --header=<value> (optional) Provide the Early Access header alias name.
344
- --header-alias=<value> (optional) Provide the Early Access header value.
343
+ --header=<value> (optional) Provide the Early Access header value.
344
+ --header-alias=<value> (optional) Provide a name (alias) for this Early Access header.
345
345
 
346
346
  DESCRIPTION
347
347
  Set Early Access header
@@ -26,8 +26,8 @@ exports.default = SetEarlyAccessHeaderCommand;
26
26
  SetEarlyAccessHeaderCommand.description = 'Set Early Access header';
27
27
  SetEarlyAccessHeaderCommand.aliases = ['config:set:ea-header'];
28
28
  SetEarlyAccessHeaderCommand.flags = {
29
- 'header-alias': cli_utilities_1.flags.string({ description: '(optional) Provide the Early Access header value.' }),
30
- header: cli_utilities_1.flags.string({ description: '(optional) Provide the Early Access header alias name.' }),
29
+ 'header-alias': cli_utilities_1.flags.string({ description: '(optional) Provide a name (alias) for this Early Access header.' }),
30
+ header: cli_utilities_1.flags.string({ description: '(optional) Provide the Early Access header value.' }),
31
31
  };
32
32
  SetEarlyAccessHeaderCommand.examples = [
33
33
  '$ <%= config.bin %> <%= command.id %>',
@@ -1,144 +1,5 @@
1
1
  {
2
2
  "commands": {
3
- "config:remove:base-branch": {
4
- "aliases": [],
5
- "args": {},
6
- "description": "Remove branch config for CLI",
7
- "examples": [
8
- "$ csdx config:remove:base-branch",
9
- "$ csdx config:remove:base-branch --stack-api-key <value>"
10
- ],
11
- "flags": {
12
- "stack-api-key": {
13
- "char": "k",
14
- "description": "Stack API key.",
15
- "name": "stack-api-key",
16
- "hasDynamicHelp": false,
17
- "multiple": false,
18
- "type": "option"
19
- },
20
- "yes": {
21
- "char": "y",
22
- "description": "Force remove.",
23
- "name": "yes",
24
- "allowNo": false,
25
- "type": "boolean"
26
- }
27
- },
28
- "hasDynamicHelp": false,
29
- "hiddenAliases": [],
30
- "id": "config:remove:base-branch",
31
- "pluginAlias": "@contentstack/cli-config",
32
- "pluginName": "@contentstack/cli-config",
33
- "pluginType": "core",
34
- "strict": true,
35
- "isESM": false,
36
- "relativePath": [
37
- "lib",
38
- "commands",
39
- "config",
40
- "remove",
41
- "base-branch.js"
42
- ]
43
- },
44
- "config:remove:early-access-header": {
45
- "aliases": [
46
- "config:remove:ea-header"
47
- ],
48
- "args": {},
49
- "description": "Remove Early Access header",
50
- "examples": [
51
- "$ <%= config.bin %> <%= command.id %>",
52
- "$ <%= config.bin %> <%= command.id %> --header-alias <value>"
53
- ],
54
- "flags": {
55
- "header-alias": {
56
- "description": "(optional) Provide the Early Access header alias name.",
57
- "name": "header-alias",
58
- "hasDynamicHelp": false,
59
- "multiple": false,
60
- "type": "option"
61
- },
62
- "yes": {
63
- "char": "y",
64
- "description": "(optional) Force the removal of Early Access header configuration by skipping the confirmation.",
65
- "name": "yes",
66
- "allowNo": false,
67
- "type": "boolean"
68
- }
69
- },
70
- "hasDynamicHelp": false,
71
- "hiddenAliases": [],
72
- "id": "config:remove:early-access-header",
73
- "pluginAlias": "@contentstack/cli-config",
74
- "pluginName": "@contentstack/cli-config",
75
- "pluginType": "core",
76
- "strict": true,
77
- "isESM": false,
78
- "relativePath": [
79
- "lib",
80
- "commands",
81
- "config",
82
- "remove",
83
- "early-access-header.js"
84
- ]
85
- },
86
- "config:remove:proxy": {
87
- "aliases": [],
88
- "args": {},
89
- "description": "Remove proxy configuration from global config",
90
- "examples": [
91
- "csdx config:remove:proxy"
92
- ],
93
- "flags": {},
94
- "hasDynamicHelp": false,
95
- "hiddenAliases": [],
96
- "id": "config:remove:proxy",
97
- "pluginAlias": "@contentstack/cli-config",
98
- "pluginName": "@contentstack/cli-config",
99
- "pluginType": "core",
100
- "strict": true,
101
- "isESM": false,
102
- "relativePath": [
103
- "lib",
104
- "commands",
105
- "config",
106
- "remove",
107
- "proxy.js"
108
- ]
109
- },
110
- "config:remove:rate-limit": {
111
- "aliases": [],
112
- "args": {},
113
- "description": "Remove rate-limit of the organization",
114
- "examples": [
115
- "$ csdx config:remove:rate-limit --org <<org_uid>>"
116
- ],
117
- "flags": {
118
- "org": {
119
- "description": "Provide the organization UID",
120
- "name": "org",
121
- "hasDynamicHelp": false,
122
- "multiple": false,
123
- "type": "option"
124
- }
125
- },
126
- "hasDynamicHelp": false,
127
- "hiddenAliases": [],
128
- "id": "config:remove:rate-limit",
129
- "pluginAlias": "@contentstack/cli-config",
130
- "pluginName": "@contentstack/cli-config",
131
- "pluginType": "core",
132
- "strict": true,
133
- "isESM": false,
134
- "relativePath": [
135
- "lib",
136
- "commands",
137
- "config",
138
- "remove",
139
- "rate-limit.js"
140
- ]
141
- },
142
3
  "config:get:base-branch": {
143
4
  "aliases": [],
144
5
  "args": {},
@@ -338,14 +199,14 @@
338
199
  ],
339
200
  "flags": {
340
201
  "header-alias": {
341
- "description": "(optional) Provide the Early Access header value.",
202
+ "description": "(optional) Provide a name (alias) for this Early Access header.",
342
203
  "name": "header-alias",
343
204
  "hasDynamicHelp": false,
344
205
  "multiple": false,
345
206
  "type": "option"
346
207
  },
347
208
  "header": {
348
- "description": "(optional) Provide the Early Access header alias name.",
209
+ "description": "(optional) Provide the Early Access header value.",
349
210
  "name": "header",
350
211
  "hasDynamicHelp": false,
351
212
  "multiple": false,
@@ -672,7 +533,146 @@
672
533
  "set",
673
534
  "region.js"
674
535
  ]
536
+ },
537
+ "config:remove:base-branch": {
538
+ "aliases": [],
539
+ "args": {},
540
+ "description": "Remove branch config for CLI",
541
+ "examples": [
542
+ "$ csdx config:remove:base-branch",
543
+ "$ csdx config:remove:base-branch --stack-api-key <value>"
544
+ ],
545
+ "flags": {
546
+ "stack-api-key": {
547
+ "char": "k",
548
+ "description": "Stack API key.",
549
+ "name": "stack-api-key",
550
+ "hasDynamicHelp": false,
551
+ "multiple": false,
552
+ "type": "option"
553
+ },
554
+ "yes": {
555
+ "char": "y",
556
+ "description": "Force remove.",
557
+ "name": "yes",
558
+ "allowNo": false,
559
+ "type": "boolean"
560
+ }
561
+ },
562
+ "hasDynamicHelp": false,
563
+ "hiddenAliases": [],
564
+ "id": "config:remove:base-branch",
565
+ "pluginAlias": "@contentstack/cli-config",
566
+ "pluginName": "@contentstack/cli-config",
567
+ "pluginType": "core",
568
+ "strict": true,
569
+ "isESM": false,
570
+ "relativePath": [
571
+ "lib",
572
+ "commands",
573
+ "config",
574
+ "remove",
575
+ "base-branch.js"
576
+ ]
577
+ },
578
+ "config:remove:early-access-header": {
579
+ "aliases": [
580
+ "config:remove:ea-header"
581
+ ],
582
+ "args": {},
583
+ "description": "Remove Early Access header",
584
+ "examples": [
585
+ "$ <%= config.bin %> <%= command.id %>",
586
+ "$ <%= config.bin %> <%= command.id %> --header-alias <value>"
587
+ ],
588
+ "flags": {
589
+ "header-alias": {
590
+ "description": "(optional) Provide the Early Access header alias name.",
591
+ "name": "header-alias",
592
+ "hasDynamicHelp": false,
593
+ "multiple": false,
594
+ "type": "option"
595
+ },
596
+ "yes": {
597
+ "char": "y",
598
+ "description": "(optional) Force the removal of Early Access header configuration by skipping the confirmation.",
599
+ "name": "yes",
600
+ "allowNo": false,
601
+ "type": "boolean"
602
+ }
603
+ },
604
+ "hasDynamicHelp": false,
605
+ "hiddenAliases": [],
606
+ "id": "config:remove:early-access-header",
607
+ "pluginAlias": "@contentstack/cli-config",
608
+ "pluginName": "@contentstack/cli-config",
609
+ "pluginType": "core",
610
+ "strict": true,
611
+ "isESM": false,
612
+ "relativePath": [
613
+ "lib",
614
+ "commands",
615
+ "config",
616
+ "remove",
617
+ "early-access-header.js"
618
+ ]
619
+ },
620
+ "config:remove:proxy": {
621
+ "aliases": [],
622
+ "args": {},
623
+ "description": "Remove proxy configuration from global config",
624
+ "examples": [
625
+ "csdx config:remove:proxy"
626
+ ],
627
+ "flags": {},
628
+ "hasDynamicHelp": false,
629
+ "hiddenAliases": [],
630
+ "id": "config:remove:proxy",
631
+ "pluginAlias": "@contentstack/cli-config",
632
+ "pluginName": "@contentstack/cli-config",
633
+ "pluginType": "core",
634
+ "strict": true,
635
+ "isESM": false,
636
+ "relativePath": [
637
+ "lib",
638
+ "commands",
639
+ "config",
640
+ "remove",
641
+ "proxy.js"
642
+ ]
643
+ },
644
+ "config:remove:rate-limit": {
645
+ "aliases": [],
646
+ "args": {},
647
+ "description": "Remove rate-limit of the organization",
648
+ "examples": [
649
+ "$ csdx config:remove:rate-limit --org <<org_uid>>"
650
+ ],
651
+ "flags": {
652
+ "org": {
653
+ "description": "Provide the organization UID",
654
+ "name": "org",
655
+ "hasDynamicHelp": false,
656
+ "multiple": false,
657
+ "type": "option"
658
+ }
659
+ },
660
+ "hasDynamicHelp": false,
661
+ "hiddenAliases": [],
662
+ "id": "config:remove:rate-limit",
663
+ "pluginAlias": "@contentstack/cli-config",
664
+ "pluginName": "@contentstack/cli-config",
665
+ "pluginType": "core",
666
+ "strict": true,
667
+ "isESM": false,
668
+ "relativePath": [
669
+ "lib",
670
+ "commands",
671
+ "config",
672
+ "remove",
673
+ "rate-limit.js"
674
+ ]
675
675
  }
676
676
  },
677
- "version": "1.21.0"
677
+ "version": "1.21.1"
678
678
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@contentstack/cli-config",
3
3
  "description": "Contentstack CLI plugin for configuration",
4
- "version": "1.21.0",
4
+ "version": "1.21.1",
5
5
  "author": "Contentstack",
6
6
  "scripts": {
7
7
  "build": "pnpm compile && oclif manifest && oclif readme",
@@ -15,7 +15,7 @@
15
15
  },
16
16
  "dependencies": {
17
17
  "@contentstack/cli-command": "~1.8.5",
18
- "@contentstack/cli-utilities": "~1.19.0",
18
+ "@contentstack/cli-utilities": "~1.19.1",
19
19
  "@contentstack/utils": "~1.9.1",
20
20
  "@oclif/core": "^4.11.4"
21
21
  },