Skip to content

Commit

Permalink
Add space-id and environment-id env vars to readme
Browse files Browse the repository at this point in the history
  • Loading branch information
talend-deploy authored and deluan committed Oct 19, 2020
1 parent aa35220 commit 809cdf7
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -82,8 +82,8 @@ used to keep track of the current state of each managed content type.
Options:
-t, --access-token [access-token] CMA token, defaults to your environment variable CONTENTFUL_MANAGEMENT_ACCESS_TOKEN if empty
-s, --space-id [space-id] space id to use
-e, --environment-id [env-id] id of the environment within the space (default 'master')
-s, --space-id [space-id] space id to use (defaults to environment variable CONTENTFUL_SPACE_ID)
-e, --environment-id [env-id] id of the environment within the space (defaults to environment variable CONTENTFUL_ENV_ID if set, otherwise defaults to 'master')
```

If the target space already has been init'd before, it will throw an error:
Expand All @@ -101,8 +101,8 @@ Note: It will delete any existing migration scripts and create a consolidated on
Options:
-t, --access-token [access-token] CMA token, defaults to your environment variable CONTENTFUL_MANAGEMENT_ACCESS_TOKEN if empty
-s, --space-id [space-id] space id to use
-e, --environment-id [env-id] id of the environment within the space (default 'master')
-s, --space-id [space-id] space id to use (defaults to environment variable CONTENTFUL_SPACE_ID)
-e, --environment-id [env-id] id of the environment within the space (defaults to environment variable CONTENTFUL_ENV_ID if set, otherwise defaults to 'master')
-c, --content-type [content-type] one or more content type to bootstrap with choice to overwrite migration state
-a, --all apply bootstrap to all with choice to overwrite migration state
```
Expand Down Expand Up @@ -135,8 +135,8 @@ applied and when.
Options:
-t, --access-token [access-token] CMA token, defaults to your environment variable CONTENTFUL_MANAGEMENT_ACCESS_TOKEN if empty
-s, --space-id [space-id] space id to use
-e, --environment-id [env-id] id of the environment within the space (default 'master')
-s, --space-id [space-id] space id to use (defaults to environment variable CONTENTFUL_SPACE_ID)
-e, --environment-id [env-id] id of the environment within the space (defaults to environment variable CONTENTFUL_ENV_ID if set, otherwise defaults to 'master')
-c, --content-type [content-type] one or more content type names to list
-a, --all lists migrations for all content types
```
Expand Down Expand Up @@ -167,8 +167,8 @@ the specified content-type into the specified space.
Options:
-t, --access-token [access-token] CMA token, defaults to your environment variable CONTENTFUL_MANAGEMENT_ACCESS_TOKEN if empty
-s, --space-id [space-id] space id to use
-e, --environment-id [env-id] id of the environment within the space (default 'master')
-s, --space-id [space-id] space id to use (defaults to environment variable CONTENTFUL_SPACE_ID)
-e, --environment-id [env-id] id of the environment within the space (defaults to environment variable CONTENTFUL_ENV_ID if set, otherwise defaults to 'master')
-c, --content-type [content-type] one or more content type names to process
-a, --all processes migrations for all content types
-d, --dry-run only shows the plan, don't write anything to contentful. defaults to false
Expand All @@ -191,8 +191,8 @@ for the specified content-type from the specified space.
Options:
-t, --access-token [access-token] CMA token, defaults to your environment variable CONTENTFUL_MANAGEMENT_ACCESS_TOKEN if empty
-s, --space-id [space-id] space id to use
-e, --environment-id [env-id] id of the environment within the space (default 'master')
-s, --space-id [space-id] space id to use (defaults to environment variable CONTENTFUL_SPACE_ID)
-e, --environment-id [env-id] id of the environment within the space (defaults to environment variable CONTENTFUL_ENV_ID if set, otherwise defaults to 'master')
-c, --content-type [content-type] content type name
-d, --dry-run only shows the plan, don't write anything to contentful. defaults to false
```
Expand Down

0 comments on commit 809cdf7

Please sign in to comment.