This package has been deprecated

Author message:

Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.

@layr8/repl
TypeScript icon, indicating that this package has built-in type declarations

1.4.5 • Public • Published

Layr8 command line interface

Non-Interactive Mode

In non-interactive mode, the l8 command is used to execute commands. The command is specified as the first parameter, and the subcommand is specified as the second parameter. All other parameters are passed to the subcommand.

l8 <command> <subcommand> [parameters]

Interactive Mode

In interactive mode, the l8 command is used to start the REPL. The REPL is used to execute commands. The command is specified as the first parameter, and the subcommand is specified as the second parameter. All other parameters are passed to the subcommand.

l8
l8> <command> <subcommand> [parameters]

Examples (non-interactive mode)

Create a Layr8 cluster

l8 cluster up --name cluster1-company --domain layr8.org --host aws --region us-east-1 --zones 2

Examples (interactive mode)

Create a Layr8 cluster

l8> cluster up --name cluster1-company --domain layr8.org --host aws --region us-east-1 --zones 2

Default Values

Default values can be set for most parameters. This allows for a more streamlined command line experience. The default values are stored in the ~/.layr8/defaults.yaml file. The default values can be set using the defaults set command.

Examples

Set default values for a Layr8 cluster (non-interactive mode)

l8 defaults set --domain layr8.org --host aws --region us-east-1 --zones 2

Get default values for a Layr8 cluster (non-interactive mode)

l8 defaults get

Set default values for a Layr8 cluster (interactive mode)

l8> defaults set --domain layr8.org --host aws --region us-east-1 --zones 2

Get default values for a Layr8 cluster (interactive mode)

l8> defaults get
l8> defaults get domain host --format json

Package Sidebar

Install

npm i @layr8/repl

Homepage

layr8.org

Weekly Downloads

0

Version

1.4.5

License

(APACHE-2.0 AND CC BY-NC 4.0)

Unpacked Size

2.85 kB

Total Files

2

Last publish

Collaborators

  • zach.ptech