NEOS Core CLI
Project description
Core CLI v0.12.20
Setup
Install CLI
Install the CLI using pip:
pip install neosctl
See Local Development for details on installing from source.
Setup environment
To setup an environment, run the following command:
neosctl env init <env-name> -h <hub-host> -u <username> -a <account>
More information about this command you can find in the DOCS.md file.
Activate an environment
To activate an environment (for use in subsequent requests):
neosctl env activate <env-name>
Login to the system
To login to the system, run the following command:
neosctl env login
You will need username and password for that.
Activate a core
To activate a core (for use in subsequent requests):
neoctl env list-cores
neosctl env activate-core <core-name>
Setup service user (optional)
For some operations, you will need to provide a service user access_key_id
and secret_access_key
. To create service user and get it's access and secret
key, use:
neosctl env whoami
{
"user_id": "<user-id>"
}
neosctl iam user create-access-key <user-id>
To configure the environment to use the key pair:
neosctl env credential <env-name> <access-key> <secret-key>
Review settings
All setting are stored by default in the folder ~/.neosctl/
.
You can also review all settings by running the following commands:
neosctl env list
neosctl env view <env-name>
neosctl env active
Usage
To see all available commands, run the following command:
neosctl --help
or go to the DOCS.md file.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for neosctl-0.12.20-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | bd0e3a36b384b00f4e784142164a5591a43cbd58a4696dcad153d212fe0dc8f0 |
|
MD5 | 7408854a0072173fa2f662a66b3a4b4a |
|
BLAKE2b-256 | ea3039068cf13c334187717dac95351d16e4d039cd6c6d4ac00bf312aaef07d2 |