Skip to main content

NEOS Core CLI

Project description

Core CLI v0.12.30

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.12.30.tar.gz (130.3 kB view details)

Uploaded Source

Built Distribution

neosctl-0.12.30-py3-none-any.whl (43.3 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for neosctl-0.12.30.tar.gz
Algorithm Hash digest
SHA256 260f1aaf4127abd799ef731472a31e9a851a1f7fc8375d66f9328370a7dc906b
MD5 e836bc305a0f04c31388bc7e594ca143
BLAKE2b-256 3822f1eb90598772b1eb2a269aa6f522a524dd9ce04e69d9937d1b4c67410752

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for neosctl-0.12.30-py3-none-any.whl
Algorithm Hash digest
SHA256 d24025e42e3c8bb6778cb55d7d771e4d3ffa86b74065cea89986e6b32d087a8f
MD5 06cbc698591a093c7acdfb28543cd721
BLAKE2b-256 4230fccd43e638449d29c3f569eefd7c7ee9e3ea25e1ae4c090c7d2f83036284

See more details on using hashes here.

Supported by

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