Skip to main content

NEOS Core CLI

Project description

Core CLI v0.13.2

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

neosctl-0.13.2.tar.gz (127.1 kB view details)

Uploaded Source

Built Distribution

neosctl-0.13.2-py3-none-any.whl (39.2 kB view details)

Uploaded Python 3

File details

Details for the file neosctl-0.13.2.tar.gz.

File metadata

  • Download URL: neosctl-0.13.2.tar.gz
  • Upload date:
  • Size: 127.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.10.6

File hashes

Hashes for neosctl-0.13.2.tar.gz
Algorithm Hash digest
SHA256 af826a69d117bcd7f2a715cce7859ac77d6b152e7d975eff9cc4794087c9d2b9
MD5 9c1283db25e9c6923ded5b6bf5504807
BLAKE2b-256 9a6df2fe50252ae3ceb7a8d5c2f0d66cde0642c219e46cbd79406f66271b29db

See more details on using hashes here.

File details

Details for the file neosctl-0.13.2-py3-none-any.whl.

File metadata

  • Download URL: neosctl-0.13.2-py3-none-any.whl
  • Upload date:
  • Size: 39.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.10.6

File hashes

Hashes for neosctl-0.13.2-py3-none-any.whl
Algorithm Hash digest
SHA256 85cd4837c130c2e8f7f51ddced041b4744b150f0741b25bed56938da71027045
MD5 89e6edcf244154fa3dad6616af07daa1
BLAKE2b-256 245db3c854c6ffad83bb21047c313f793102de35c15dc84940af2fb626802dae

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page