@contentstack/cli 1.16.1 → 1.17.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 +62 -52
- package/oclif.manifest.json +1 -1
- package/package.json +10 -10
package/README.md
CHANGED
|
@@ -18,7 +18,7 @@ $ npm install -g @contentstack/cli
|
|
|
18
18
|
$ csdx COMMAND
|
|
19
19
|
running command...
|
|
20
20
|
$ csdx (--version|-v)
|
|
21
|
-
@contentstack/cli/1.
|
|
21
|
+
@contentstack/cli/1.17.1 linux-x64 node-v18.19.1
|
|
22
22
|
$ csdx --help [COMMAND]
|
|
23
23
|
USAGE
|
|
24
24
|
$ csdx COMMAND
|
|
@@ -104,14 +104,14 @@ USAGE
|
|
|
104
104
|
* [`csdx login`](#csdx-login)
|
|
105
105
|
* [`csdx logout`](#csdx-logout)
|
|
106
106
|
* [`csdx plugins`](#csdx-plugins)
|
|
107
|
-
* [`csdx plugins:
|
|
107
|
+
* [`csdx plugins:add PLUGIN`](#csdx-pluginsadd-plugin)
|
|
108
108
|
* [`csdx plugins:inspect PLUGIN...`](#csdx-pluginsinspect-plugin)
|
|
109
|
-
* [`csdx plugins:install PLUGIN
|
|
110
|
-
* [`csdx plugins:link
|
|
111
|
-
* [`csdx plugins:
|
|
109
|
+
* [`csdx plugins:install PLUGIN`](#csdx-pluginsinstall-plugin)
|
|
110
|
+
* [`csdx plugins:link PATH`](#csdx-pluginslink-path)
|
|
111
|
+
* [`csdx plugins:remove [PLUGIN]`](#csdx-pluginsremove-plugin)
|
|
112
112
|
* [`csdx plugins:reset`](#csdx-pluginsreset)
|
|
113
|
-
* [`csdx plugins:uninstall PLUGIN
|
|
114
|
-
* [`csdx plugins:
|
|
113
|
+
* [`csdx plugins:uninstall [PLUGIN]`](#csdx-pluginsuninstall-plugin)
|
|
114
|
+
* [`csdx plugins:unlink [PLUGIN]`](#csdx-pluginsunlink-plugin)
|
|
115
115
|
* [`csdx plugins:update`](#csdx-pluginsupdate)
|
|
116
116
|
* [`csdx tokens`](#csdx-tokens)
|
|
117
117
|
* [`csdx whoami`](#csdx-whoami)
|
|
@@ -3518,48 +3518,53 @@ EXAMPLES
|
|
|
3518
3518
|
$ csdx plugins
|
|
3519
3519
|
```
|
|
3520
3520
|
|
|
3521
|
-
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/
|
|
3521
|
+
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.0.0/src/commands/plugins/index.ts)_
|
|
3522
3522
|
|
|
3523
|
-
## `csdx plugins:
|
|
3523
|
+
## `csdx plugins:add PLUGIN`
|
|
3524
3524
|
|
|
3525
|
-
Installs a plugin into
|
|
3525
|
+
Installs a plugin into csdx.
|
|
3526
3526
|
|
|
3527
3527
|
```
|
|
3528
3528
|
USAGE
|
|
3529
|
-
$ csdx plugins:
|
|
3529
|
+
$ csdx plugins:add PLUGIN [--json] [-f] [-h] [-s | -v]
|
|
3530
3530
|
|
|
3531
3531
|
ARGUMENTS
|
|
3532
3532
|
PLUGIN Plugin to install.
|
|
3533
3533
|
|
|
3534
3534
|
FLAGS
|
|
3535
|
-
-f, --force
|
|
3535
|
+
-f, --force Force npm to fetch remote resources even if a local copy exists on disk.
|
|
3536
3536
|
-h, --help Show CLI help.
|
|
3537
|
-
-s, --silent Silences
|
|
3538
|
-
-v, --verbose Show verbose
|
|
3537
|
+
-s, --silent Silences npm output.
|
|
3538
|
+
-v, --verbose Show verbose npm output.
|
|
3539
3539
|
|
|
3540
3540
|
GLOBAL FLAGS
|
|
3541
3541
|
--json Format output as json.
|
|
3542
3542
|
|
|
3543
3543
|
DESCRIPTION
|
|
3544
|
-
Installs a plugin into
|
|
3545
|
-
Can be installed from npm or a git url.
|
|
3544
|
+
Installs a plugin into csdx.
|
|
3546
3545
|
|
|
3547
|
-
|
|
3546
|
+
Uses bundled npm executable to install plugins into /home/runner/.local/share/@contentstack/cli
|
|
3548
3547
|
|
|
3549
|
-
|
|
3550
|
-
will override the core plugin implementation. This is useful if a user needs to update core plugin functionality in
|
|
3551
|
-
the CLI without the need to patch and update the whole CLI.
|
|
3548
|
+
Installation of a user-installed plugin will override a core plugin.
|
|
3552
3549
|
|
|
3550
|
+
Use the CSDX_NPM_LOG_LEVEL environment variable to set the npm loglevel.
|
|
3551
|
+
Use the CSDX_NPM_REGISTRY environment variable to set the npm registry.
|
|
3553
3552
|
|
|
3554
3553
|
ALIASES
|
|
3555
3554
|
$ csdx plugins:add
|
|
3556
3555
|
|
|
3557
3556
|
EXAMPLES
|
|
3558
|
-
|
|
3557
|
+
Install a plugin from npm registry.
|
|
3558
|
+
|
|
3559
|
+
$ csdx plugins:add myplugin
|
|
3560
|
+
|
|
3561
|
+
Install a plugin from a github url.
|
|
3562
|
+
|
|
3563
|
+
$ csdx plugins:add https://github.com/someuser/someplugin
|
|
3559
3564
|
|
|
3560
|
-
|
|
3565
|
+
Install a plugin from a github slug.
|
|
3561
3566
|
|
|
3562
|
-
|
|
3567
|
+
$ csdx plugins:add someuser/someplugin
|
|
3563
3568
|
```
|
|
3564
3569
|
|
|
3565
3570
|
## `csdx plugins:inspect PLUGIN...`
|
|
@@ -3587,59 +3592,64 @@ EXAMPLES
|
|
|
3587
3592
|
$ csdx plugins:inspect myplugin
|
|
3588
3593
|
```
|
|
3589
3594
|
|
|
3590
|
-
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/
|
|
3595
|
+
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.0.0/src/commands/plugins/inspect.ts)_
|
|
3591
3596
|
|
|
3592
|
-
## `csdx plugins:install PLUGIN
|
|
3597
|
+
## `csdx plugins:install PLUGIN`
|
|
3593
3598
|
|
|
3594
|
-
Installs a plugin into
|
|
3599
|
+
Installs a plugin into csdx.
|
|
3595
3600
|
|
|
3596
3601
|
```
|
|
3597
3602
|
USAGE
|
|
3598
|
-
$ csdx plugins:install PLUGIN
|
|
3603
|
+
$ csdx plugins:install PLUGIN [--json] [-f] [-h] [-s | -v]
|
|
3599
3604
|
|
|
3600
3605
|
ARGUMENTS
|
|
3601
3606
|
PLUGIN Plugin to install.
|
|
3602
3607
|
|
|
3603
3608
|
FLAGS
|
|
3604
|
-
-f, --force
|
|
3609
|
+
-f, --force Force npm to fetch remote resources even if a local copy exists on disk.
|
|
3605
3610
|
-h, --help Show CLI help.
|
|
3606
|
-
-s, --silent Silences
|
|
3607
|
-
-v, --verbose Show verbose
|
|
3611
|
+
-s, --silent Silences npm output.
|
|
3612
|
+
-v, --verbose Show verbose npm output.
|
|
3608
3613
|
|
|
3609
3614
|
GLOBAL FLAGS
|
|
3610
3615
|
--json Format output as json.
|
|
3611
3616
|
|
|
3612
3617
|
DESCRIPTION
|
|
3613
|
-
Installs a plugin into
|
|
3614
|
-
Can be installed from npm or a git url.
|
|
3618
|
+
Installs a plugin into csdx.
|
|
3615
3619
|
|
|
3616
|
-
|
|
3620
|
+
Uses bundled npm executable to install plugins into /home/runner/.local/share/@contentstack/cli
|
|
3617
3621
|
|
|
3618
|
-
|
|
3619
|
-
will override the core plugin implementation. This is useful if a user needs to update core plugin functionality in
|
|
3620
|
-
the CLI without the need to patch and update the whole CLI.
|
|
3622
|
+
Installation of a user-installed plugin will override a core plugin.
|
|
3621
3623
|
|
|
3624
|
+
Use the CSDX_NPM_LOG_LEVEL environment variable to set the npm loglevel.
|
|
3625
|
+
Use the CSDX_NPM_REGISTRY environment variable to set the npm registry.
|
|
3622
3626
|
|
|
3623
3627
|
ALIASES
|
|
3624
3628
|
$ csdx plugins:add
|
|
3625
3629
|
|
|
3626
3630
|
EXAMPLES
|
|
3627
|
-
|
|
3631
|
+
Install a plugin from npm registry.
|
|
3632
|
+
|
|
3633
|
+
$ csdx plugins:install myplugin
|
|
3634
|
+
|
|
3635
|
+
Install a plugin from a github url.
|
|
3636
|
+
|
|
3637
|
+
$ csdx plugins:install https://github.com/someuser/someplugin
|
|
3628
3638
|
|
|
3629
|
-
|
|
3639
|
+
Install a plugin from a github slug.
|
|
3630
3640
|
|
|
3631
|
-
|
|
3641
|
+
$ csdx plugins:install someuser/someplugin
|
|
3632
3642
|
```
|
|
3633
3643
|
|
|
3634
|
-
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/
|
|
3644
|
+
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.0.0/src/commands/plugins/install.ts)_
|
|
3635
3645
|
|
|
3636
|
-
## `csdx plugins:link
|
|
3646
|
+
## `csdx plugins:link PATH`
|
|
3637
3647
|
|
|
3638
3648
|
Links a plugin into the CLI for development.
|
|
3639
3649
|
|
|
3640
3650
|
```
|
|
3641
3651
|
USAGE
|
|
3642
|
-
$ csdx plugins:link
|
|
3652
|
+
$ csdx plugins:link PATH [-h] [--install] [-v]
|
|
3643
3653
|
|
|
3644
3654
|
ARGUMENTS
|
|
3645
3655
|
PATH [default: .] path to plugin
|
|
@@ -3661,15 +3671,15 @@ EXAMPLES
|
|
|
3661
3671
|
$ csdx plugins:link myplugin
|
|
3662
3672
|
```
|
|
3663
3673
|
|
|
3664
|
-
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/
|
|
3674
|
+
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.0.0/src/commands/plugins/link.ts)_
|
|
3665
3675
|
|
|
3666
|
-
## `csdx plugins:
|
|
3676
|
+
## `csdx plugins:remove [PLUGIN]`
|
|
3667
3677
|
|
|
3668
3678
|
Removes a plugin from the CLI.
|
|
3669
3679
|
|
|
3670
3680
|
```
|
|
3671
3681
|
USAGE
|
|
3672
|
-
$ csdx plugins:
|
|
3682
|
+
$ csdx plugins:remove [PLUGIN] [-h] [-v]
|
|
3673
3683
|
|
|
3674
3684
|
ARGUMENTS
|
|
3675
3685
|
PLUGIN plugin to uninstall
|
|
@@ -3702,15 +3712,15 @@ FLAGS
|
|
|
3702
3712
|
--reinstall Reinstall all plugins after uninstalling.
|
|
3703
3713
|
```
|
|
3704
3714
|
|
|
3705
|
-
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/
|
|
3715
|
+
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.0.0/src/commands/plugins/reset.ts)_
|
|
3706
3716
|
|
|
3707
|
-
## `csdx plugins:uninstall PLUGIN
|
|
3717
|
+
## `csdx plugins:uninstall [PLUGIN]`
|
|
3708
3718
|
|
|
3709
3719
|
Removes a plugin from the CLI.
|
|
3710
3720
|
|
|
3711
3721
|
```
|
|
3712
3722
|
USAGE
|
|
3713
|
-
$ csdx plugins:uninstall PLUGIN
|
|
3723
|
+
$ csdx plugins:uninstall [PLUGIN] [-h] [-v]
|
|
3714
3724
|
|
|
3715
3725
|
ARGUMENTS
|
|
3716
3726
|
PLUGIN plugin to uninstall
|
|
@@ -3730,15 +3740,15 @@ EXAMPLES
|
|
|
3730
3740
|
$ csdx plugins:uninstall myplugin
|
|
3731
3741
|
```
|
|
3732
3742
|
|
|
3733
|
-
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/
|
|
3743
|
+
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.0.0/src/commands/plugins/uninstall.ts)_
|
|
3734
3744
|
|
|
3735
|
-
## `csdx plugins:
|
|
3745
|
+
## `csdx plugins:unlink [PLUGIN]`
|
|
3736
3746
|
|
|
3737
3747
|
Removes a plugin from the CLI.
|
|
3738
3748
|
|
|
3739
3749
|
```
|
|
3740
3750
|
USAGE
|
|
3741
|
-
$ csdx plugins:
|
|
3751
|
+
$ csdx plugins:unlink [PLUGIN] [-h] [-v]
|
|
3742
3752
|
|
|
3743
3753
|
ARGUMENTS
|
|
3744
3754
|
PLUGIN plugin to uninstall
|
|
@@ -3774,7 +3784,7 @@ DESCRIPTION
|
|
|
3774
3784
|
Update installed plugins.
|
|
3775
3785
|
```
|
|
3776
3786
|
|
|
3777
|
-
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/
|
|
3787
|
+
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.0.0/src/commands/plugins/update.ts)_
|
|
3778
3788
|
|
|
3779
3789
|
## `csdx tokens`
|
|
3780
3790
|
|
package/oclif.manifest.json
CHANGED
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@contentstack/cli",
|
|
3
3
|
"description": "Command-line tool (CLI) to interact with Contentstack",
|
|
4
|
-
"version": "1.
|
|
4
|
+
"version": "1.17.1",
|
|
5
5
|
"author": "Contentstack",
|
|
6
6
|
"bin": {
|
|
7
7
|
"csdx": "./bin/run"
|
|
@@ -22,27 +22,27 @@
|
|
|
22
22
|
"prepack": "pnpm compile && oclif manifest && oclif readme"
|
|
23
23
|
},
|
|
24
24
|
"dependencies": {
|
|
25
|
-
"@contentstack/cli-audit": "~1.5.
|
|
25
|
+
"@contentstack/cli-audit": "~1.5.2",
|
|
26
26
|
"@contentstack/cli-auth": "~1.3.17",
|
|
27
27
|
"@contentstack/cli-cm-bootstrap": "~1.9.0",
|
|
28
|
-
"@contentstack/cli-cm-branches": "~1.0.
|
|
28
|
+
"@contentstack/cli-cm-branches": "~1.0.24",
|
|
29
29
|
"@contentstack/cli-cm-bulk-publish": "~1.4.3",
|
|
30
30
|
"@contentstack/cli-cm-export": "~1.11.1",
|
|
31
|
-
"@contentstack/cli-cm-clone": "~1.10.
|
|
31
|
+
"@contentstack/cli-cm-clone": "~1.10.3",
|
|
32
32
|
"@contentstack/cli-cm-export-to-csv": "~1.7.0",
|
|
33
|
-
"@contentstack/cli-cm-import": "~1.
|
|
33
|
+
"@contentstack/cli-cm-import": "~1.15.0",
|
|
34
34
|
"@contentstack/cli-cm-migrate-rte": "~1.4.15",
|
|
35
|
-
"@contentstack/cli-cm-seed": "~1.7.
|
|
35
|
+
"@contentstack/cli-cm-seed": "~1.7.3",
|
|
36
36
|
"@contentstack/cli-command": "~1.2.17",
|
|
37
37
|
"@contentstack/cli-config": "~1.6.3",
|
|
38
|
-
"@contentstack/cli-launch": "~1.0.
|
|
39
|
-
"@contentstack/cli-migration": "~1.5.
|
|
38
|
+
"@contentstack/cli-launch": "~1.0.17",
|
|
39
|
+
"@contentstack/cli-migration": "~1.5.2",
|
|
40
40
|
"@contentstack/cli-utilities": "~1.6.0",
|
|
41
41
|
"@contentstack/management": "~1.15.3",
|
|
42
42
|
"@oclif/core": "^2.9.3",
|
|
43
43
|
"@oclif/plugin-help": "^5",
|
|
44
44
|
"@oclif/plugin-not-found": "^2.4.0",
|
|
45
|
-
"@oclif/plugin-plugins": "^
|
|
45
|
+
"@oclif/plugin-plugins": "^5.0.0",
|
|
46
46
|
"chalk": "^4.1.2",
|
|
47
47
|
"debug": "^4.1.1",
|
|
48
48
|
"figlet": "^1.5.2",
|
|
@@ -160,4 +160,4 @@
|
|
|
160
160
|
}
|
|
161
161
|
},
|
|
162
162
|
"repository": "https://github.com/contentstack/cli"
|
|
163
|
-
}
|
|
163
|
+
}
|