diff --git a/README.md b/README.md index 429b3be..57a6f91 100644 --- a/README.md +++ b/README.md @@ -67,14 +67,12 @@ Display recent changes to a Content Type ``` USAGE - $ csdx content-type:audit -c [-s | -a | -a ] [-k | | ] + $ csdx content-type:audit --content-type [-k | -a ] FLAGS -a, --alias= Alias of the management token - -a, --token-alias= Management token alias - -c, --content-type= (required) Content Type UID -k, --stack-api-key= Stack API Key - -s, --stack= Stack UID + --content-type= (required) Content Type UID DESCRIPTION Display recent changes to a Content Type @@ -85,7 +83,7 @@ EXAMPLES $ csdx content-type:audit --alias "management token" --content-type "home_page" ``` -_See code: [src/commands/content-type/audit.ts](https://github.com/contentstack/contentstack-cli-content-type/blob/v1.3.0/src/commands/content-type/audit.ts)_ +_See code: [src/commands/content-type/audit.ts](https://github.com/contentstack/contentstack-cli-content-type/blob/v1.5.0-beta.0/src/commands/content-type/audit.ts)_ ## `csdx content-type:compare` @@ -93,16 +91,14 @@ Compare two Content Type versions ``` USAGE - $ csdx content-type:compare -c [-s | -a ] [-k | ] [-a ] [-l -r ] + $ csdx content-type:compare --content-type [-k | -a ] [--left --right ] FLAGS -a, --alias= Alias of the management token - -a, --token-alias= Management token alias - -c, --content-type= (required) Content Type UID -k, --stack-api-key= Stack API Key - -l, --left= Content Type version, i.e. prev version - -r, --right= Content Type version, i.e. later version - -s, --stack= Stack UID + --content-type= (required) Content Type UID + --left= Content Type version, i.e. prev version + --right= Content Type version, i.e. later version DESCRIPTION Compare two Content Type versions @@ -115,7 +111,7 @@ EXAMPLES $ csdx content-type:compare --alias "management token" --content-type "home_page" --left # --right # ``` -_See code: [src/commands/content-type/compare.ts](https://github.com/contentstack/contentstack-cli-content-type/blob/v1.3.0/src/commands/content-type/compare.ts)_ +_See code: [src/commands/content-type/compare.ts](https://github.com/contentstack/contentstack-cli-content-type/blob/v1.5.0-beta.0/src/commands/content-type/compare.ts)_ ## `csdx content-type:compare-remote` @@ -123,21 +119,21 @@ compare two Content Types on different Stacks ``` USAGE - $ csdx content-type:compare-remote (-o -r ) -c + $ csdx content-type:compare-remote (--origin-stack --remote-stack ) --content-type FLAGS - -c, --content-type= (required) Content Type UID - -o, --origin-stack= (required) Origin Stack API Key - -r, --remote-stack= (required) Remote Stack API Key + --content-type= (required) Content Type UID + --origin-stack= (required) Origin Stack API Key + --remote-stack= (required) Remote Stack API Key DESCRIPTION compare two Content Types on different Stacks EXAMPLES - $ csdx content-type:compare-remote --origin-stack "xxxxxxxxxxxxxxxxxxx" --remote-stack "xxxxxxxxxxxxxxxxxxx" -content-type "home_page" + $ csdx content-type:compare-remote --origin-stack "xxxxxxxxxxxxxxxxxxx" --remote-stack "xxxxxxxxxxxxxxxxxxx" --content-type "home_page" ``` -_See code: [src/commands/content-type/compare-remote.ts](https://github.com/contentstack/contentstack-cli-content-type/blob/v1.3.0/src/commands/content-type/compare-remote.ts)_ +_See code: [src/commands/content-type/compare-remote.ts](https://github.com/contentstack/contentstack-cli-content-type/blob/v1.5.0-beta.0/src/commands/content-type/compare-remote.ts)_ ## `csdx content-type:details` @@ -145,15 +141,13 @@ Display Content Type details ``` USAGE - $ csdx content-type:details -c [-s | -a ] [-k | ] [-a ] [-p] + $ csdx content-type:details --content-type [-k | -a ] [--path] FLAGS -a, --alias= Alias of the management token - -a, --token-alias= Management token alias - -c, --content-type= (required) Content Type UID -k, --stack-api-key= Stack API Key - -p, --[no-]path show path column - -s, --stack= Stack UID + --content-type= (required) Content Type UID + --[no-]path show path column DESCRIPTION Display Content Type details @@ -166,7 +160,7 @@ EXAMPLES $ csdx content-type:details --alias "management token" --content-type "home_page" --no-path ``` -_See code: [src/commands/content-type/details.ts](https://github.com/contentstack/contentstack-cli-content-type/blob/v1.3.0/src/commands/content-type/details.ts)_ +_See code: [src/commands/content-type/details.ts](https://github.com/contentstack/contentstack-cli-content-type/blob/v1.5.0-beta.0/src/commands/content-type/details.ts)_ ## `csdx content-type:diagram` @@ -174,18 +168,15 @@ Create a visual diagram of a Stack's Content Types ``` USAGE - $ csdx content-type:diagram -o -d portrait|landscape -t svg|dot [-s | -a | -a ] [-k - | | ] + $ csdx content-type:diagram --output --direction portrait|landscape --type svg|dot [-k | -a ] FLAGS -a, --alias= Alias of the management token - -a, --token-alias= Management token alias - -d, --direction=