Skip to main content

CLI tool to interact with InOrbit Cloud Platform

Project description

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:

  1. Go to the InOrbit control panel
  2. Navigate to Settings > Admin section > API Keys tab
  3. 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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

inorbit_cli-0.22.3.tar.gz (32.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

inorbit_cli-0.22.3-py3-none-any.whl (16.1 kB view details)

Uploaded Python 3

File details

Details for the file inorbit_cli-0.22.3.tar.gz.

File metadata

  • Download URL: inorbit_cli-0.22.3.tar.gz
  • Upload date:
  • Size: 32.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.3

File hashes

Hashes for inorbit_cli-0.22.3.tar.gz
Algorithm Hash digest
SHA256 8fa121517d8649292820c12663a74e1f314fa36c08de3060c4abc44fdc3efc7e
MD5 74ac9adb385676da9f9b6eae183ad531
BLAKE2b-256 98d111956b0ed1741afced36e1d8f9a5dac7c002e3432cab0947719b860402a2

See more details on using hashes here.

File details

Details for the file inorbit_cli-0.22.3-py3-none-any.whl.

File metadata

  • Download URL: inorbit_cli-0.22.3-py3-none-any.whl
  • Upload date:
  • Size: 16.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.3

File hashes

Hashes for inorbit_cli-0.22.3-py3-none-any.whl
Algorithm Hash digest
SHA256 f944c531c5c3f0124ceea5a7232cc2f510b5028928a8798ada61b0b26cf9b73f
MD5 69aedb7b5c8a1e4075d59baa445d8017
BLAKE2b-256 156871c5038f9a2edb70ec6329c46274e1011155174f7afad83561777b5a1f5b

See more details on using hashes here.

Supported by

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