Skip to content

Commit 6290ad1

Browse files
committed
updating command and packages
1 parent dd076ce commit 6290ad1

File tree

4 files changed

+14
-29
lines changed

4 files changed

+14
-29
lines changed

README.md

Lines changed: 2 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -25,21 +25,6 @@ $ csdx plugins:install contentstack-cli-content-type
2525
* [`csdx content-type:details`](#csdx-content-typedetails)
2626
* [`csdx content-type:list`](#csdx-content-typelist)
2727

28-
## `csdx content-type`
29-
30-
retrieve information about Content Types in a Stack.
31-
32-
```
33-
USAGE
34-
$ csdx content-type
35-
36-
COMMANDS
37-
content-type:audit display Audit Logs for recent changes to a Content Type
38-
content-type:compare compare two Content Type versions
39-
content-type:details display Content Type details
40-
content-type:list list all Content Types in a Stack
41-
```
42-
4328
## `csdx content-type:audit`
4429

4530
display Audit Logs for recent changes to a Content Type
@@ -71,8 +56,8 @@ USAGE
7156
OPTIONS
7257
-a, --token-alias=token-alias management token alias
7358
-c, --content-type=content-type (required) Content Type UID
74-
-l, --left=left (required) Content Type version
75-
-r, --right=right (required) Content Type version
59+
-l, --left=left Content Type version, i.e. prev version
60+
-r, --right=right Content Type version, i.e. later version
7661
-s, --stack=stack stack uid
7762
7863
EXAMPLES

oclif.manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"version":"1.0.0","commands":{"command":{"id":"command","pluginName":"contentstack-cli-content-type","pluginType":"core","aliases":[],"flags":{},"args":[]},"":{"id":"","pluginName":"contentstack-cli-content-type","pluginType":"core","aliases":[],"flags":{},"args":[]},"content-type:audit":{"id":"content-type:audit","description":"display Audit Logs for recent changes to a Content Type","pluginName":"contentstack-cli-content-type","pluginType":"core","aliases":[],"examples":["$ csdx content-type:audit -s \"xxxxxxxxxxxxxxxxxxx\" -c \"home_page\"","$ csdx content-type:audit -a \"management token\" -c \"home_page\""],"flags":{"stack":{"name":"stack","type":"option","char":"s","description":"stack uid","required":false},"token-alias":{"name":"token-alias","type":"option","char":"a","description":"management token alias","required":false},"content-type":{"name":"content-type","type":"option","char":"c","description":"Content Type UID","required":true}},"args":[]},"content-type:compare":{"id":"content-type:compare","description":"compare two Content Type versions","pluginName":"contentstack-cli-content-type","pluginType":"core","aliases":[],"examples":["$ csdx content-type:compare -s \"xxxxxxxxxxxxxxxxxxx\" -c \"home_page\"","$ csdx content-type:compare -s \"xxxxxxxxxxxxxxxxxxx\" -c \"home_page\" -l # -r #","$ csdx content-type:compare -a \"management token\" -c \"home_page\" -l # -r #"],"flags":{"stack":{"name":"stack","type":"option","char":"s","description":"stack uid","required":false},"token-alias":{"name":"token-alias","type":"option","char":"a","description":"management token alias","hidden":false,"required":false},"content-type":{"name":"content-type","type":"option","char":"c","description":"Content Type UID","required":true},"left":{"name":"left","type":"option","char":"l","description":"Content Type version","required":true},"right":{"name":"right","type":"option","char":"r","description":"Content Type version","required":true}},"args":[]},"content-type:details":{"id":"content-type:details","description":"display Content Type details","pluginName":"contentstack-cli-content-type","pluginType":"core","aliases":[],"examples":["$ csdx content-type:details -s \"xxxxxxxxxxxxxxxxxxx\" -c \"home_page\"","$ csdx content-type:details -a \"management token\" -c \"home_page\"","$ csdx content-type:details -a \"management token\" -c \"home_page\" --no-path"],"flags":{"stack":{"name":"stack","type":"option","char":"s","description":"stack uid","required":false},"token-alias":{"name":"token-alias","type":"option","char":"a","description":"management token alias","required":false},"content-type":{"name":"content-type","type":"option","char":"c","description":"Content Type UID","required":true},"path":{"name":"path","type":"boolean","char":"p","description":"show path column","allowNo":true}},"args":[]},"content-type:list":{"id":"content-type:list","description":"list all Content Types in a Stack","pluginName":"contentstack-cli-content-type","pluginType":"core","aliases":[],"examples":["$ csdx content-type:list -s \"xxxxxxxxxxxxxxxxxxx\"","$ csdx content-type:list -a \"management token\"","$ csdx content-type:list -a \"management token\" -o modified"],"flags":{"stack":{"name":"stack","type":"option","char":"s","description":"stack uid","required":false},"token-alias":{"name":"token-alias","type":"option","char":"a","description":"management token alias","required":false},"order":{"name":"order","type":"option","char":"o","description":"order by column","required":false,"options":["title","modified"],"default":"title"}},"args":[]}}}
1+
{"version":"1.0.0","commands":{"content-type:audit":{"id":"content-type:audit","description":"display Audit Logs for recent changes to a Content Type","pluginName":"contentstack-cli-content-type","pluginType":"core","aliases":[],"examples":["$ csdx content-type:audit -s \"xxxxxxxxxxxxxxxxxxx\" -c \"home_page\"","$ csdx content-type:audit -a \"management token\" -c \"home_page\""],"flags":{"stack":{"name":"stack","type":"option","char":"s","description":"stack uid","required":false},"token-alias":{"name":"token-alias","type":"option","char":"a","description":"management token alias","required":false},"content-type":{"name":"content-type","type":"option","char":"c","description":"Content Type UID","required":true}},"args":[]},"content-type:compare":{"id":"content-type:compare","description":"compare two Content Type versions","pluginName":"contentstack-cli-content-type","pluginType":"core","aliases":[],"examples":["$ csdx content-type:compare -s \"xxxxxxxxxxxxxxxxxxx\" -c \"home_page\"","$ csdx content-type:compare -s \"xxxxxxxxxxxxxxxxxxx\" -c \"home_page\" -l # -r #","$ csdx content-type:compare -a \"management token\" -c \"home_page\" -l # -r #"],"flags":{"stack":{"name":"stack","type":"option","char":"s","description":"stack uid","required":false},"token-alias":{"name":"token-alias","type":"option","char":"a","description":"management token alias","hidden":false,"required":false},"content-type":{"name":"content-type","type":"option","char":"c","description":"Content Type UID","required":true},"left":{"name":"left","type":"option","char":"l","description":"Content Type version, i.e. prev version","required":false},"right":{"name":"right","type":"option","char":"r","description":"Content Type version, i.e. later version","required":false}},"args":[]},"content-type:details":{"id":"content-type:details","description":"display Content Type details","pluginName":"contentstack-cli-content-type","pluginType":"core","aliases":[],"examples":["$ csdx content-type:details -s \"xxxxxxxxxxxxxxxxxxx\" -c \"home_page\"","$ csdx content-type:details -a \"management token\" -c \"home_page\"","$ csdx content-type:details -a \"management token\" -c \"home_page\" --no-path"],"flags":{"stack":{"name":"stack","type":"option","char":"s","description":"stack uid","required":false},"token-alias":{"name":"token-alias","type":"option","char":"a","description":"management token alias","required":false},"content-type":{"name":"content-type","type":"option","char":"c","description":"Content Type UID","required":true},"path":{"name":"path","type":"boolean","char":"p","description":"show path column","allowNo":true}},"args":[]},"content-type:list":{"id":"content-type:list","description":"list all Content Types in a Stack","pluginName":"contentstack-cli-content-type","pluginType":"core","aliases":[],"examples":["$ csdx content-type:list -s \"xxxxxxxxxxxxxxxxxxx\"","$ csdx content-type:list -a \"management token\"","$ csdx content-type:list -a \"management token\" -o modified"],"flags":{"stack":{"name":"stack","type":"option","char":"s","description":"stack uid","required":false},"token-alias":{"name":"token-alias","type":"option","char":"a","description":"management token alias","required":false},"order":{"name":"order","type":"option","char":"o","description":"order by column","required":false,"options":["title","modified"],"default":"title"}},"args":[]}}}

package-lock.json

Lines changed: 10 additions & 10 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@
5353
"license": "MIT",
5454
"main": "lib/index.js",
5555
"oclif": {
56-
"commands": "./lib/commands",
56+
"commands": "./lib/commands/",
5757
"bin": "csdx",
5858
"devPlugins": [
5959
"@oclif/plugin-help"

0 commit comments

Comments
 (0)