Nuvelics documentation
CLICommand reference

nuvelics cms-config

Usage, options and details of the nuvelics cms-config commands.

nuvelics cms-config create

Create a CMS connection

You will be prompted for the secret value (arc_xp's accessToken, or wordpress's applicationPassword). Use --secret-stdin to read it from stdin instead, for automation: echo "$TOKEN" | nuvelics cms-config create --secret-stdin --vendor arc_xp \ --display-name "Acme Arc" --arc-org-id acme --environment production \

--website-id acme-site

The secret must never be passed as a flag value (visible in ps and shell history).

  • --vendor <vendor> — CMS vendor: arc_xp or wordpress
  • --display-name <name> — Display name for the connection
  • --arc-org-id <id> — Arc organization id (required for vendor arc_xp)
  • --environment <production|sandbox|staging|development> — Arc environment: production, sandbox, staging, or development (arc_xp)
  • --website-id <id> — Arc Site Service Website ID (required for vendor arc_xp)
  • --site-url <url> — WordPress Site Address / home_url (required for vendor wordpress)
  • --username <username> — WordPress username (required for vendor wordpress)
  • --featured-credit-in-body — File the featured image's credit as the body's first paragraph, for a theme that does not show the featured image's caption; default off (wordpress)
  • --secret-stdin — Read the secret from stdin instead of the interactive prompt

nuvelics cms-config delete [id]

Delete a CMS connection (irreversible)

Pass --yes to confirm. This action is irreversible.

  • --yes — Confirm irreversible deletion

nuvelics cms-config get [id]

Get a CMS connection by ID

nuvelics cms-config list

List CMS connections

nuvelics cms-config targets

List the CMS connections an article can be filed into

Needs only the permission to push, not to manage connections: use it to find the id story outputs push --cms-config takes. Lists id, name, vendor and, for WordPress, the site address only.

nuvelics cms-config update [id]

Update a CMS connection

The current version is fetched automatically. If modified concurrently, a 412 is returned — retry. When --rotate-access-token or --rotate-application-password is passed, you will be prompted for the new secret value.

  • --display-name <name> — New display name
  • --arc-org-id <id> — New Arc organization id (arc_xp)
  • --environment <production|sandbox|staging|development> — New Arc environment (arc_xp)
  • --website-id <id> — New Arc Site Service Website ID (arc_xp)
  • --rotate-access-token — Prompt for a new accessToken and rotate it (arc_xp)
  • --site-url <url> — New WordPress Site Address / home_url (wordpress)
  • --username <username> — New WordPress username (wordpress)
  • --rotate-application-password — Prompt for a new applicationPassword and rotate it (wordpress)
  • --featured-credit-in-body — Turn on filing the featured image's credit as the body's first paragraph, or off with --no-featured-credit-in-body (wordpress)

Report a problem with this page

On this page