@arcxp/cli
TypeScript icon, indicating that this package has built-in type declarations

1.1.3 • Public • Published

@arcxp/cli

The Arc XP CLI is your command center for automating workflows to accelerate development and simplify engineering workflows.

For instructions on getting the CLI running on your local machine, visit this page: https://dev.arcxp.com/arcxp-cli/

Requirements

  • Node.js v20 or later is required to run this project.

Options

--enable-debug-logs

Enable logging for environment loading

-V, --version

output the version number

Subcommands

arcxp ifx

Interact directly with the IFX APIs using the command line. Follow the guide to get started: https://dev.arcxp.com/integrations/ifx-cli/

Subcommands

arcxp ifx integrations

Subcommands

arcxp ifx integrations list

View a detailed list of all integrations.

Usage

arcxp ifx integrations list [options]

Options

-p, --page <page>

Page number, used with pageSize for paginating the list

-s, --pageSize <pageSize>

Number of items per page

arcxp ifx integrations view

View an integration's details and status.

Usage

arcxp ifx integrations view [options]

Options

-n, --name <name>

Name of integration to view

arcxp ifx integrations create

Create a new integration.

Usage

arcxp ifx integrations create [options]

Options

-n, --name <name>

Name of new integration

-d, --description <description>

Give it a description

-e, --email <email>

Email for receiving alerts

arcxp ifx integrations update

Update an existing integration.

Usage

arcxp ifx integrations update [options]

Options

-n, --name <name>

Name of integration to update

-d, --description [description]

Updated description (optional)

-e, --email [email]

Email for receiving alerts (optional)

-s --enabled <enabled>

Enable (true) or disable (false) the integration

arcxp ifx integrations delete

Deletes an existing integration and all associated resources (except your Github repo).

Usage

arcxp ifx integrations delete [options]

Options

-n, --name <name>

Name of integration to delete (cannot be undone)

arcxp ifx secrets

Subcommands

arcxp ifx secrets list

Lists secret names for an integration.

Usage

arcxp ifx secrets list [options]

Options

-n, --integrationName <integrationName>

Name of integration to list secrets

arcxp ifx secrets create

Add a new secret to an integration.

Usage

arcxp ifx secrets create [options]

Options

-n, --integrationName <integrationName>

Name of integration where the secret will be used

-s, --secretName <secretName>

Secret name to be referenced in your code

-v, --secretValue <secretValue>

The value of the secret

arcxp ifx secrets update

Update an existing secret.

Usage

arcxp ifx secrets update [options]

Options

-n, --integrationName <integrationName>

Name of integration

-s, --secretName <secretName>

Name of secret to be updated

-v, --secretValue <secretValue>

The new value of the secret

arcxp ifx custom-events

Subcommands

arcxp ifx custom-events list

View your organization's existing custom events.

Usage

arcxp ifx custom-events list [options]

Options

-p, --page <page>

Page number, used with pageSize for paginating the list

-s, --pageSize <pageSize>

Number of items per page

arcxp ifx custom-events register

Register a custom event for your organization to be used on a schedule or with a webhook.

Usage

arcxp ifx custom-events register [options]

Options

-e, --eventName <eventName>

Name the event e.g. custom:schedule_report

-d, --description <description>

Describe what the event will be used for

-s, --schedule [schedule]

6-field cron string e.g. 0 12 ? * WED * (optional)

arcxp ifx custom-events update

Update description and/or schedule of an existing custom event.

Usage

arcxp ifx custom-events update [options]

Options

-e, --eventName <eventName>

The custom event name to be updated

-d, --description [description]

Updated description (optional)

-s, --schedule [schedule]

6-field cron string e.g. 0 12 ? * WED * (optional)

arcxp ifx custom-events delete-event

Delete a custom event. The event must not have any active subscriptions. Note this action cannot be undone, but you can recreate the event if needed.

Usage

arcxp ifx custom-events delete-event [options]

Options

-e, --eventName <eventName>

Name of event to delete (cannot be undone)

arcxp ifx custom-events delete-event-schedule

Delete an event's schedule without deleting the event itself. This action cannot be undone, but the schedule can be added back to the event.

Usage

arcxp ifx custom-events delete-event-schedule [options]

Options

-e, --eventName <eventName>

Name of event whose schedule to delete

arcxp ifx webhooks

Subcommands

arcxp ifx webhooks list

View your organization's existing webhooks.

Usage

arcxp ifx webhooks list [options]

Options

-p, --page <page>

Page number, used with pageSize for paginating the list

-s, --pageSize <pageSize>

Number of items per page

arcxp ifx webhooks register

Once you have created a custom event, register a webhook to receive the request for that event.

Usage

arcxp ifx webhooks register [options]

Options

-e, --eventName <eventName>

Name of event you want linked to your webhook

-d, --description <description>

Describe what the webhook will do

arcxp ifx webhooks update

Update the description for a webhook.

Usage

arcxp ifx webhooks update [options]

Options

-e, --eventName <eventName>

Name of event you want linked to your webhook

-d, --description <description>

Updated description (optional)

arcxp ifx webhooks delete

Remove a webhook for an event. Note this action cannot be undone! If you need to recreate this webhook, a new UUID will be issued.

Usage

arcxp ifx webhooks delete [options]

Options

-e, --eventName <eventName>

Name of event associated with the webhook

arcxp ifx webhooks trigger

Triggers a webhook by its UUID.

Usage

arcxp ifx webhooks trigger [options]

Options

-u, --uuid <uuid>

The UUID of the webhook to trigger

-p, --payload <payload>

JSON-formatted custom payload

arcxp ifx logs

Subcommands

arcxp ifx logs search

View log search results.

Usage

arcxp ifx logs search [options]

Options

-n, --name <name>

Integration name to search

-q, --query [search query]

Optional keywords to search for in logs

-s, --startDateTime [YYYY-MM-DD HH:MM:SS]

START timestamp in format YYYY-MM-DD [HH:MM:SS], default 300s ago

-e, --endDateTime [YYYY-MM-DD HH:MM:SS]

END timestamp in format YYYY-MM-DD [HH:MM:SS], default 'now'

arcxp ifx bundles

Subcommands

arcxp ifx bundles list

Get a list of all uploaded bundles for an integration.

Usage

arcxp ifx bundles list [options]

Options

-n, --name <name>

Integration name to list bundles

arcxp ifx bundles upload

Upload a zipped bundle for an integration.

Usage

arcxp ifx bundles upload [options]

Options

-n, --integrationName <integrationName>

Integration name for bundle upload

-b, --bundleName <bundleName>

Provide a unique bundle name

-p, --bundlePath <bundlePath>

Local path to the zipped bundle

arcxp ifx bundles deploy

Deploy an uploaded bundle so that it can be promoted to live.

Usage

arcxp ifx bundles deploy [options]

Options

-n, --name <name>

Name of integration

-b, --bundleName <bundleName>

Name of bundle to deploy

arcxp ifx bundles promote

Promote a specific bundle version to live. Any traffic after the promotion will go to the newly promoted bundle.

Usage

arcxp ifx bundles promote [options]

Options

-n, --name <name>

Name of integration

-v, --versionNumber <versionNumber>

Bundle version to promote to live

arcxp ifx bundles download

Promote a specific bundle version to live. Any traffic after the promotion will go to the newly promoted bundle.

Usage

arcxp ifx bundles download [options]

Options

-n, --name <name>

Name of integration

-b --bundleName <bundleName>

Name of bundle to download

-o --outputFilePath <outputFilePath>

Local file path including filename to save the zip e.g. /Users/me/zips/somename.zip

arcxp ifx event-subscriptions

Subcommands

arcxp ifx event-subscriptions list

List all event subscriptions.

Usage

arcxp ifx event-subscriptions list [options]

arcxp ifx event-subscriptions create

Subscribe to an event so that your integration will be invoked when the event is received.

Usage

arcxp ifx event-subscriptions create [options]

Options

-n, --name <name>

Name of integration that will be triggered for this event

-e, --eventName <eventName>

Name of event you are subscribing to

-s, --enabled [enabled]

Enable (true) or disable (false) the subscription

arcxp ifx event-subscriptions update

Manage an existing event subscription

Usage

arcxp ifx event-subscriptions update [options]

Options

-n, --name <name>

Integration name associated with the event

-e, --eventName <eventName>

Event name to update

-s, --enabled <enabled>

Enable (true) or disable (false) the subscription

arcxp pagebuilder

Interact with PageBuilder tools

Subcommands

arcxp pagebuilder view-logs

View logs associated with a specific request ID

Usage

arcxp pagebuilder view-logs [options]

Options

-r, --requestId <requestId>

Arc PageBuilder request ID to search logs for

arcxp themes

Scripts for managing site settings

Subcommands

arcxp themes site-properties print

Output current settings in terminal

Usage

arcxp themes site-properties print

arcxp themes site-properties write-local-settings-file

Output a file with the site properties stored in Themes Settings

Usage

arcxp themes site-properties write-local-settings-file [options]

Options

-o, --outputPath <outputPath>

Full path and file name to save .json. Defaults to blocks-${year}-${month}-${day}-${hours}${minutes}${seconds}.json

arcxp themes site-properties convert-properties

Converts a .json file to .xlsx, or .xlsx to .json When saving to .xlsx, global settings will be saved to 1 sheet and each site's properties will be in their own sheets.

Usage

* Interactive mode only

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
1.1.380latest

Version History

VersionDownloads (Last 7 Days)Published
1.1.380
1.1.274
1.1.190
1.1.018
1.0.04

Package Sidebar

Install

npm i @arcxp/cli

Weekly Downloads

269

Version

1.1.3

License

ISC

Unpacked Size

130 kB

Total Files

37

Last publish

Collaborators

  • stemlem
  • blakeganderson