InOrbit CLI
Welcome to the InOrbit Command Line Interface (CLI) - a powerful tool for managing robot configurations as code on the InOrbit Cloud platform.
Overview
The InOrbit CLI enables you to interact with the InOrbit Cloud platform programmatically, allowing you to:
- Manage robot configurations as code
- Apply, compare, and delete configurations
- Query robot, tag, and collection information
- Evaluate expressions on robots
- List and describe various InOrbit resources
Installing
The package is available on PyPI.
Note: Make sure you have deactivated any development virtual environment or are using a different one with no inorbit python package installed.
pip install inorbit-cli
Requirements
- Python 3.12 or higher
- An InOrbit API key (see Usage section)
Usage
Authentication
The CLI requires an API key for authenticating against InOrbit's platform. To obtain an API key:
- Go to the InOrbit control panel
- Navigate to Settings > Admin section > API Keys tab
- Generate or copy your API key
Set the API key as an environment variable:
export INORBIT_CLI_API_KEY="your_api_key_here"
Basic Commands
Get help and see all available commands:
inorbit --help
Enable verbose output for debugging:
inorbit --verbose
# or
export INORBIT_CLI_VERBOSE="true"
Configuration Management
Apply configurations from a file or directory:
inorbit apply -f config.yaml
Compare configurations without applying:
inorbit apply -f config.yaml --compare
Apply without confirmation prompts:
inorbit apply -f config.yaml -y
List configurations:
inorbit get config --kind IncidentDefinition
Delete a configuration:
inorbit delete config <config_id> --kind IncidentDefinition
Resource Queries
Get robots:
inorbit get robots
Describe robots with detailed information:
inorbit describe robots
Get tags:
inorbit get tags
Describe collections:
inorbit describe collections
Expression Evaluation
Evaluate expressions on robots:
inorbit expr eval <robot_id> "expression_here"
Or use a file:
inorbit expr eval <robot_id> -f expression.yaml
Persistent configuration:
Add these to your shell startup file (~/.bashrc, ~/.zshrc, etc.):
export INORBIT_CLI_API_KEY="your_api_key_here"
export INORBIT_CLI_VERBOSE="false" # optional
Development
For development setup and contribution guidelines, see CONTRIBUTING.md.
License
Proprietary - Copyright (c) 2021, InOrbit, Inc. All rights reserved.
Support
For issues, questions, or contributions, please refer to the contributing guide or contact support@inorbit.ai.
Release files for inorbit-cli 0.22.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| inorbit_cli-0.22.3.tar.gz | 32.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| inorbit_cli-0.22.3-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 48.2 kB
Release files / inorbit_cli-0.22.3.tar.gz
| Download URL | inorbit_cli-0.22.3.tar.gz |
|---|---|
| Size | 32.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
8fa121517d8649292820c12663a74e1f314fa36c08de3060c4abc44fdc3efc7e
|
|
BLAKE2b-256 checksum How to use checksums |
98d111956b0ed1741afced36e1d8f9a5dac7c002e3432cab0947719b860402a2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.14.3
|
Release files / inorbit_cli-0.22.3-py3-none-any.whl
| Download URL | inorbit_cli-0.22.3-py3-none-any.whl |
|---|---|
| Size | 16.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
f944c531c5c3f0124ceea5a7232cc2f510b5028928a8798ada61b0b26cf9b73f
|
|
BLAKE2b-256 checksum How to use checksums |
156871c5038f9a2edb70ec6329c46274e1011155174f7afad83561777b5a1f5b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.14.3
|