Skip to main content

Official CLI for FounderX-AI Orchestration System - Execute templates, manage artifacts, and monitor workflows from the command line

Project description

rooctl - FounderX-AI Orchestration CLI

Official command-line interface for the FounderX-AI Orchestration System.

Execute templates, manage artifacts, configure webhooks, and monitor workflows from your terminal.

🚀 Quick Start

Installation

Using pip:

pip install rooctl

Using pipx (recommended):

pipx install rooctl

Using Homebrew (macOS/Linux):

brew install rooctl

Basic Usage

# Login to orchestration system
rooctl login admin Admin123! --base-url https://api.founder-x.ai

# Check system status
rooctl status

# List executions
rooctl executions list

# Execute a template
rooctl run my-template --param input=data.csv

# List artifacts
rooctl artifacts list

# Configure webhook
rooctl webhooks add https://myapp.com/hook --events execution.completed

📋 Features

  • Authentication - Secure login and API key management
  • Template Execution - Run templates with parameters
  • Artifact Management - List, download, sign, and export artifacts
  • Webhook Configuration - Add and manage webhooks
  • Public API - Access public endpoints without authentication
  • Status Monitoring - Check system and execution status
  • Retention Policies - Manage admin retention settings

📖 Commands

Authentication

# Login with username/password
rooctl login <username> <password> [--base-url URL]

# Set public API key
rooctl public set-key <api-key>

System Status

# Get system status
rooctl status

# Get public system status
rooctl public status

Template Execution

# Run a template
rooctl run <template-id> [--param key=value ...]

# List executions
rooctl executions list [--status completed|failed|running]

# Get execution status
rooctl executions status <execution-id>

# Cancel execution
rooctl executions cancel <execution-id>

Artifact Management

# List artifacts
rooctl artifacts list [--execution-id ID]

# Download artifact
rooctl artifacts download <artifact-id> [--output path]

# Sign artifact
rooctl artifacts sign <artifact-id>

# Export artifact
rooctl artifacts export <artifact-id> [--format json|csv]

# Show artifact diff
rooctl artifacts diff --left <id1> --right <id2>

# Show artifact history
rooctl artifacts history <artifact-id>

# Public artifact operations
rooctl public artifacts <artifact-id>
rooctl public sign <artifact-id>

Webhook Management

# Add webhook
rooctl webhooks add <url> [--events EVENT1,EVENT2 ...] [--secret SECRET]

# List webhooks
rooctl webhooks list

# Test webhook
rooctl webhooks test <webhook-id>

# Delete webhook
rooctl webhooks delete <webhook-id>

Admin Operations

# Get retention settings
rooctl admin retention get

# Set retention period
rooctl admin retention set <days>

# Set retention max size
rooctl admin retention set-max-size <size-gb>

🔧 Configuration

The CLI stores configuration in ~/.rooctl/config.json:

{
  "base_url": "https://api.founder-x.ai",
  "access_token": "your-token-here",
  "public_api_key": "your-api-key-here"
}

Environment Variables

export ROOCTL_BASE_URL="https://api.founder-x.ai"
export ROOCTL_USERNAME="your-username"
export ROOCTL_PASSWORD="your-password"
export ROOCTL_API_KEY="your-api-key"

📚 Examples

Execute a data processing workflow

# Login
rooctl login user@example.com mypassword --base-url https://api.founder-x.ai

# Run template with parameters
rooctl run data-processor \
  --param input_file=sales_2025.csv \
  --param output_format=json \
  --param filter_date=2025-01-01

# Monitor execution
rooctl executions status <execution-id>

# List artifacts when complete
rooctl artifacts list --execution-id <execution-id>

# Download results
rooctl artifacts download <artifact-id> --output results.json

Set up webhook notifications

# Add webhook for completion events
rooctl webhooks add https://myapp.com/webhook \
  --events execution.completed,execution.failed \
  --secret my-secret-key

# Test webhook
rooctl webhooks test <webhook-id>

# List all webhooks
rooctl webhooks list

Public API access

# Set public API key
rooctl public set-key pk_1234567890abcdef

# Access public status without login
rooctl public status

# Access public artifacts
rooctl public artifacts <artifact-id>

Admin retention management

# Get current retention settings
rooctl admin retention get

# Set retention period to 30 days
rooctl admin retention set 30

# Set max storage size to 100 GB
rooctl admin retention set-max-size 100

🐛 Troubleshooting

Authentication Issues

# Clear stored credentials
rm ~/.rooctl/config.json

# Login again
rooctl login <username> <password> --base-url <url>

Connection Issues

# Verify base URL is correct
rooctl status --base-url https://api.founder-x.ai

# Check if API is accessible
curl https://api.founder-x.ai/health

Debug Mode

Enable verbose logging:

export ROOCTL_DEBUG=1
rooctl <command>

🔗 Related Tools

  • Python SDK: pip install rc-orchestration-sdk
  • TypeScript SDK: npm install founderx-orchestration-sdk
  • Web UI: https://app.founder-x.ai

📄 License

MIT License - see LICENSE for details.

🤝 Support


FounderX-AI - Building the future of orchestration, one command at a time.

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

rooctl-1.0.1.tar.gz (8.1 kB view details)

Uploaded Source

Built Distribution

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

rooctl-1.0.1-py3-none-any.whl (7.4 kB view details)

Uploaded Python 3

File details

Details for the file rooctl-1.0.1.tar.gz.

File metadata

  • Download URL: rooctl-1.0.1.tar.gz
  • Upload date:
  • Size: 8.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.9.6

File hashes

Hashes for rooctl-1.0.1.tar.gz
Algorithm Hash digest
SHA256 20d74ca999399cbe7223f2be45ae8f16f0d627c558ab5b91f458b19d71fd006b
MD5 79eab996d416778da2f93f0d4936d819
BLAKE2b-256 541ac2a32d1eb1c0bed2e2ceac402f16f8904d7597da96d58bb34ec7a6382a4a

See more details on using hashes here.

File details

Details for the file rooctl-1.0.1-py3-none-any.whl.

File metadata

  • Download URL: rooctl-1.0.1-py3-none-any.whl
  • Upload date:
  • Size: 7.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.9.6

File hashes

Hashes for rooctl-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 906464ee0d6f7777a1604c5fb3b9dbf3285ee77cd43b090143afd9f1d1e5ebd0
MD5 b80b4cce142c14ce58f0118ccc2f9130
BLAKE2b-256 d9b3c7d4bf9610199456292384cf1c48dfd9de40c469eb5d210983071cbdc345

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