Skip to main content
The apps command manages uploaded DAGs and artifacts.

activate

The activate subcommand activates an app version.
string
required
App version ID value.
string
API key or the NX1_API_KEY variable.
string
YAML config file.
Shows help messages and exit.
string
API host.
Disables SSL verification.
string
Output format. Allowed values: json, yaml, or table.
string
Profile name from ~/.nx1/profiles.
integer
Requests when to timeout. Default is 30.
Verbose output.

add-dag

The add-dag subcommand adds a DAG component to an app version. You can find the DAGs locally in the /utils/app/{AppName}/{VersionName}/filename directory.
string
required
File path.
string
Filename.
string
required
App version ID.
string
API key or the NX1_API_KEY variable.
string
YAML config file.
Shows help messages and exit.
string
API host.
Disables SSL verification.
string
Output format. Allowed values: json, yaml, or table.
string
Profile name from ~/.nx1/profiles.
integer
Requests when to timeout. Default is 30.
Verbose output.

components

The components subcommand manages app components within an app version..
string
required
App version ID.
string
API key or the NX1_API_KEY variable.
string
YAML config file.
Shows help messages and exit.
string
API host.
Disables SSL verification.
string
Output format. Allowed values: json, yaml, or table.
string
Profile name from ~/.nx1/profiles.
integer
Requests when to timeout. Default is 30.
Verbose output.

create

The create subcommand creates a new app.
string
required
New name for the app.
string
API key or the NX1_API_KEY variable.
string
YAML config file.
Shows help messages and exit.
string
API host.
Disables SSL verification.
string
Output format. Allowed values: json, yaml, or table.
string
Profile name from ~/.nx1/profiles.
integer
Requests when to timeout. Default is 30.
Verbose output.

create-version

The create-version subcommand creates a new app version.
string
required
ID of the app.
string
required
Name of the app version.
string
API key or the NX1_API_KEY variable.
string
YAML config file.
Shows help messages and exit.
string
API host.
Disables SSL verification.
string
Output format. Allowed values: json, yaml, or table.
string
Profile name from ~/.nx1/profiles.
integer
Requests when to timeout. Default is 30.
Verbose output.

delete

The delete subcommand deletes an app.
string
required
ID of the app.
string
API key or the NX1_API_KEY variable.
string
YAML config file.
Shows help messages and exit.
string
API host.
Disables SSL verification.
string
Output format. Allowed values: json, yaml, or table.
string
Profile name from ~/.nx1/profiles.
integer
Requests when to timeout. Default is 30.
Verbose output.

delete-version

The delete-version subcommand deletes an inactive app version. You can’t delete an active app version.
string
required
ID of the inactive app version.
string
API key or the NX1_API_KEY variable.
string
YAML config file.
Shows help messages and exit.
string
API host.
Disables SSL verification.
string
Output format. Allowed values: json, yaml, or table.
string
Profile name from ~/.nx1/profiles.
integer
Requests when to timeout. Default is 30.
Verbose output.

deploy

The deploy subcommand deploys an app version.
string
required
New name for the app.
string
Paths to additional artifacts.
string
Comma-separated list of DAG Python file paths.
string
required
App version name.
string
API key or the NX1_API_KEY variable.
string
YAML config file.
Shows help messages and exit.
string
API host.
Disables SSL verification.
string
Output format. Allowed values: json, yaml, or table.
string
Profile name from ~/.nx1/profiles.
integer
Requests when to timeout. Default is 30.
Verbose output.

get

The get subcommand gets details about an app resource.
string
required
App ID.
string
API key or the NX1_API_KEY variable.
string
YAML config file.
Shows help messages and exit.
string
API host.
Disables SSL verification.
string
Output format. Allowed values: json, yaml, or table.
string
Profile name from ~/.nx1/profiles.
integer
Requests when to timeout. Default is 30.
Verbose output.

list

The list subcommand lists app resources.
string
API key or the NX1_API_KEY variable.
string
YAML config file.
Shows help messages and exit.
string
API host.
Disables SSL verification.
string
Output format. Allowed values: json, yaml, or table.
string
Profile name from ~/.nx1/profiles.
integer
Requests when to timeout. Default is 30.
Verbose output.

roles

The roles subcommand manages app roles.
string
required
ID of the app.
string
API key or the NX1_API_KEY variable.
string
YAML config file.
Shows help messages and exit.
string
API host.
Disables SSL verification.
string
Output format. Allowed values: json, yaml, or table.
string
Profile name from ~/.nx1/profiles.
integer
Requests when to timeout. Default is 30.
Verbose output.

versions

Lists app versions
string
required
ID of the app.
string
API key or the NX1_API_KEY variable.
string
YAML config file.
Shows help messages and exit.
string
API host.
Disables SSL verification.
string
Output format. Allowed values: json, yaml, or table.
string
Profile name from ~/.nx1/profiles.
integer
Requests when to timeout. Default is 30.
Verbose output.