CLI Docs

skein

Define and run YARN applications

usage: skein [--help] [--version] command ...
--help, -h

Show this help message then exit

--version

Show version then exit

skein application

Manage applications

usage: skein application [--help] command ...
--help, -h

Show this help message then exit

skein application kill

Kill a Skein application

usage: skein application kill [--help] APP_ID
app_id

The application id

--help, -h

Show this help message then exit

skein application ls

List applications

usage: skein application ls [--all] [--state STATE] [--help]
--all, -a

Show all applications (default is only active applications)

--state <state>, -s <state>

Filter by application states. May be repeated to select multiple states.

--help, -h

Show this help message then exit

skein application shutdown

Shutdown a Skein application

usage: skein application shutdown [--status STATUS]
                                  [--diagnostics DIAGNOSTICS] [--help]
                                  APP_ID
app_id

The application id. To use in a container inside a skein application, pass in “current”

--status <status>

Final Application Status. Default is SUCCEEDED

--diagnostics <diagnostics>

The application diagnostic exit message. If not provided, a default will be used.

--help, -h

Show this help message then exit

skein application specification

Get specification for a running skein application

usage: skein application specification [--help] APP_ID
app_id

The application id. To use in a container inside a skein application, pass in “current”

--help, -h

Show this help message then exit

skein application status

Status of a Skein application

usage: skein application status [--help] APP_ID
app_id

The application id

--help, -h

Show this help message then exit

skein application submit

Submit a Skein Application

usage: skein application submit [--help] spec
spec

The specification file

--help, -h

Show this help message then exit

skein config

Manage skein configuration

usage: skein config [--help] command ...
--help, -h

Show this help message then exit

skein config gencerts

Generate security credentials. Creates a self-signed TLS key/certificate pair for securing Skein communication, and writes it to the skein configuration directory (“~.skein/” by default).

usage: skein config gencerts [--force] [--help]
--force, -f

Overwrite existing configuration

--help, -h

Show this help message then exit

skein container

Manage containers

usage: skein container [--help] command ...
--help, -h

Show this help message then exit

skein container kill

Kill a container

usage: skein container kill --id CONTAINER_ID [--help] APP_ID
app_id

The application id. To use in a container inside a skein application, pass in “current”

--id <container_id>

The container id

--help, -h

Show this help message then exit

skein container ls

List containers

usage: skein container ls [--all] [--service SERVICE] [--state STATE] [--help]
                          APP_ID
app_id

The application id. To use in a container inside a skein application, pass in “current”

--all, -a

Show all containers (default is only active containers)

--service <service>

Filter by container services. May be repeated to select multiple services.

--state <state>

Filter by container states. May be repeated to select multiple states.

--help, -h

Show this help message then exit

skein container scale

Scale a service to a requested number of containers

usage: skein container scale --service SERVICE --number NUMBER [--help] APP_ID
app_id

The application id. To use in a container inside a skein application, pass in “current”

--service <service>, -s <service>

Service name

--number <number>, -n <number>

The requested number of instances

--help, -h

Show this help message then exit

skein daemon

Manage the skein daemon

usage: skein daemon [--help] command ...
--help, -h

Show this help message then exit

skein daemon address

The address of the running daemon

usage: skein daemon address [--help]
--help, -h

Show this help message then exit

skein daemon restart

Restart the skein daemon

usage: skein daemon restart [--log LOG] [--log-level LOG_LEVEL] [--help]
--log <log>

If provided, the daemon will write logs here.

--log-level <log_level>

The daemon log level, default is INFO

--help, -h

Show this help message then exit

skein daemon start

Start the skein daemon

usage: skein daemon start [--log LOG] [--log-level LOG_LEVEL] [--help]
--log <log>

If provided, the daemon will write logs here.

--log-level <log_level>

The daemon log level, default is INFO

--help, -h

Show this help message then exit

skein daemon stop

Stop the skein daemon

usage: skein daemon stop [--help]
--help, -h

Show this help message then exit

skein kv

Manage the skein key-value store

usage: skein kv [--help] command ...
--help, -h

Show this help message then exit

skein kv del

Delete a value from the key-value store

usage: skein kv del --key KEY [--help] APP_ID
app_id

The application id. To use in a container inside a skein application, pass in “current”

--key <key>

The key to delete.

--help, -h

Show this help message then exit

skein kv get

Get a value from the key-value store

usage: skein kv get --key KEY [--wait] [--help] APP_ID
app_id

The application id. To use in a container inside a skein application, pass in “current”

--key <key>

The key to get

--wait

If true, will block until the key is set

--help, -h

Show this help message then exit

skein kv ls

List all keys in the key-value store

usage: skein kv ls [--help] APP_ID
app_id

The application id. To use in a container inside a skein application, pass in “current”

--help, -h

Show this help message then exit

skein kv put

Put a value in the key-value store

usage: skein kv put --key KEY [--value VALUE] [--help] APP_ID
app_id

The application id. To use in a container inside a skein application, pass in “current”

--key <key>

The key to put

--value <value>

The value to put. If not provided, will be read from stdin.

--help, -h

Show this help message then exit