@contentstack/cli-auth 1.3.16 → 1.3.18

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/LICENSE CHANGED
@@ -1,6 +1,6 @@
1
1
  MIT License
2
2
 
3
- Copyright (c) 2023 Contentstack
3
+ Copyright (c) 2024 Contentstack
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  of this software and associated documentation files (the "Software"), to deal
package/README.md CHANGED
@@ -18,7 +18,7 @@ $ npm install -g @contentstack/cli-auth
18
18
  $ csdx COMMAND
19
19
  running command...
20
20
  $ csdx (--version)
21
- @contentstack/cli-auth/1.3.16 linux-x64 node-v18.18.2
21
+ @contentstack/cli-auth/1.3.18 linux-x64 node-v18.20.2
22
22
  $ csdx --help [COMMAND]
23
23
  USAGE
24
24
  $ csdx COMMAND
@@ -106,8 +106,8 @@ Lists all existing tokens added to the session
106
106
 
107
107
  ```
108
108
  USAGE
109
- $ csdx auth:tokens [--columns <value> | -x] [--sort <value>] [--filter <value>] [--output csv|json|yaml | |
110
- [--csv | --no-truncate]] [--no-header | ]
109
+ $ csdx auth:tokens [--columns <value> | -x] [--filter <value>] [--no-header | [--csv | --no-truncate]]
110
+ [--output csv|json|yaml | | ] [--sort <value>]
111
111
 
112
112
  FLAGS
113
113
  -x, --extended show extra columns
@@ -283,8 +283,8 @@ Lists all existing tokens added to the session
283
283
 
284
284
  ```
285
285
  USAGE
286
- $ csdx tokens [--columns <value> | -x] [--sort <value>] [--filter <value>] [--output csv|json|yaml | |
287
- [--csv | --no-truncate]] [--no-header | ]
286
+ $ csdx tokens [--columns <value> | -x] [--filter <value>] [--no-header | [--csv | --no-truncate]]
287
+ [--output csv|json|yaml | | ] [--sort <value>]
288
288
 
289
289
  FLAGS
290
290
  -x, --extended show extra columns
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "1.3.16",
2
+ "version": "1.3.18",
3
3
  "commands": {
4
4
  "auth:login": {
5
5
  "id": "auth:login",
@@ -11,6 +11,7 @@
11
11
  "aliases": [
12
12
  "login"
13
13
  ],
14
+ "hiddenAliases": [],
14
15
  "examples": [
15
16
  "$ csdx auth:login",
16
17
  "$ csdx auth:login -u <username>",
@@ -65,6 +66,7 @@
65
66
  "aliases": [
66
67
  "logout"
67
68
  ],
69
+ "hiddenAliases": [],
68
70
  "examples": [
69
71
  "$ csdx auth:logout",
70
72
  "$ csdx auth:logout -y",
@@ -101,6 +103,7 @@
101
103
  "aliases": [
102
104
  "whoami"
103
105
  ],
106
+ "hiddenAliases": [],
104
107
  "examples": [
105
108
  "$ csdx auth:whoami"
106
109
  ],
@@ -116,6 +119,7 @@
116
119
  "pluginAlias": "@contentstack/cli-auth",
117
120
  "pluginType": "core",
118
121
  "aliases": [],
122
+ "hiddenAliases": [],
119
123
  "examples": [
120
124
  "$ csdx auth:tokens:add",
121
125
  "$ csdx auth:tokens:add -a <alias>",
@@ -225,6 +229,7 @@
225
229
  "aliases": [
226
230
  "tokens"
227
231
  ],
232
+ "hiddenAliases": [],
228
233
  "examples": [
229
234
  "$ csdx auth:tokens"
230
235
  ],
@@ -238,18 +243,6 @@
238
243
  "extended"
239
244
  ]
240
245
  },
241
- "sort": {
242
- "name": "sort",
243
- "type": "option",
244
- "description": "property to sort by (prepend '-' for descending)",
245
- "multiple": false
246
- },
247
- "filter": {
248
- "name": "filter",
249
- "type": "option",
250
- "description": "filter property by partial string matching, ex: name=foo",
251
- "multiple": false
252
- },
253
246
  "csv": {
254
247
  "name": "csv",
255
248
  "type": "boolean",
@@ -259,21 +252,6 @@
259
252
  "no-truncate"
260
253
  ]
261
254
  },
262
- "output": {
263
- "name": "output",
264
- "type": "option",
265
- "description": "output in a more machine friendly format",
266
- "multiple": false,
267
- "options": [
268
- "csv",
269
- "json",
270
- "yaml"
271
- ],
272
- "exclusive": [
273
- "no-truncate",
274
- "csv"
275
- ]
276
- },
277
255
  "extended": {
278
256
  "name": "extended",
279
257
  "type": "boolean",
@@ -284,6 +262,21 @@
284
262
  "columns"
285
263
  ]
286
264
  },
265
+ "filter": {
266
+ "name": "filter",
267
+ "type": "option",
268
+ "description": "filter property by partial string matching, ex: name=foo",
269
+ "multiple": false
270
+ },
271
+ "no-header": {
272
+ "name": "no-header",
273
+ "type": "boolean",
274
+ "description": "hide table header from output",
275
+ "allowNo": false,
276
+ "exclusive": [
277
+ "csv"
278
+ ]
279
+ },
287
280
  "no-truncate": {
288
281
  "name": "no-truncate",
289
282
  "type": "boolean",
@@ -293,14 +286,26 @@
293
286
  "csv"
294
287
  ]
295
288
  },
296
- "no-header": {
297
- "name": "no-header",
298
- "type": "boolean",
299
- "description": "hide table header from output",
300
- "allowNo": false,
289
+ "output": {
290
+ "name": "output",
291
+ "type": "option",
292
+ "description": "output in a more machine friendly format",
293
+ "multiple": false,
294
+ "options": [
295
+ "csv",
296
+ "json",
297
+ "yaml"
298
+ ],
301
299
  "exclusive": [
300
+ "no-truncate",
302
301
  "csv"
303
302
  ]
303
+ },
304
+ "sort": {
305
+ "name": "sort",
306
+ "type": "option",
307
+ "description": "property to sort by (prepend '-' for descending)",
308
+ "multiple": false
304
309
  }
305
310
  },
306
311
  "args": {}
@@ -313,6 +318,7 @@
313
318
  "pluginAlias": "@contentstack/cli-auth",
314
319
  "pluginType": "core",
315
320
  "aliases": [],
321
+ "hiddenAliases": [],
316
322
  "examples": [
317
323
  "$ csdx auth:tokens:remove",
318
324
  "$ csdx auth:tokens:remove -a <alias>"
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@contentstack/cli-auth",
3
3
  "description": "Contentstack CLI plugin for authentication activities",
4
- "version": "1.3.16",
4
+ "version": "1.3.18",
5
5
  "author": "Contentstack",
6
6
  "bugs": "https://github.com/contentstack/cli/issues",
7
7
  "scripts": {
@@ -22,8 +22,8 @@
22
22
  "test:unit:report": "nyc --extension .ts mocha --forbid-only \"test/unit/**/*.test.ts\""
23
23
  },
24
24
  "dependencies": {
25
- "@contentstack/cli-command": "~1.2.15",
26
- "@contentstack/cli-utilities": "~1.5.5",
25
+ "@contentstack/cli-command": "~1.2.18",
26
+ "@contentstack/cli-utilities": "~1.6.1",
27
27
  "chalk": "^4.0.0",
28
28
  "debug": "^4.1.1",
29
29
  "inquirer": "8.2.4",
@@ -32,7 +32,7 @@
32
32
  "devDependencies": {
33
33
  "@fancy-test/nock": "^0.1.1",
34
34
  "@oclif/plugin-help": "^5.1.19",
35
- "@oclif/test": "^2.2.10",
35
+ "@oclif/test": "^2.5.6",
36
36
  "@types/chai": "^4.2.18",
37
37
  "@types/inquirer": "^9.0.3",
38
38
  "@types/mkdirp": "^1.0.1",
@@ -43,14 +43,14 @@
43
43
  "dotenv": "^16.0.3",
44
44
  "eslint": "^8.18.0",
45
45
  "eslint-config-oclif": "^4.0.0",
46
- "eslint-config-oclif-typescript": "^0.1.0",
46
+ "eslint-config-oclif-typescript": "^3.0.8",
47
47
  "globby": "^10.0.2",
48
48
  "mocha": "10.1.0",
49
49
  "nyc": "^15.1.0",
50
50
  "oclif": "^3.8.1",
51
51
  "rimraf": "^2.7.1",
52
52
  "sinon": "^15.0.1",
53
- "tmp": "^0.2.1",
53
+ "tmp": "^0.2.2",
54
54
  "ts-node": "^10.9.1",
55
55
  "typescript": "^4.9.3"
56
56
  },
@@ -96,4 +96,4 @@
96
96
  }
97
97
  },
98
98
  "repository": "contentstack/cli"
99
- }
99
+ }