Skip to main content

RC CLI - Development Tools

A powerful command-line tool for development workflows.

📦 Installation

pip install rc-cli-tools

Or install from source:

git clone <repository-url>
cd utils-kts
# Recommended: install into the project venv so you run the matching `rc`
python3 -m venv .venv
./.venv/bin/pip install -e .

# Use the venv's rc explicitly (or activate the venv)
./.venv/bin/rc --help

⚙️ Configuration

After installation, configure RC CLI using the interactive setup:

rc config setup

This will:

  • Guide you through the configuration process
  • Create ~/.rc-cli.env with your settings
  • Validate the configuration

Quick Check

# View current configuration
rc config show

# Validate configuration
rc config validate

Manual Configuration (Alternative)

Create ~/.rc-cli.env in your home directory:

# Copy the example file
cp .env.example ~/.rc-cli.env

# Edit with your actual values
# IMPORTANT: Replace 'yourcompany' with your actual company domain
vim ~/.rc-cli.env

Example configuration:

# Company name (for file naming)
COMPANY_NAME=YourCompany

# Download server
DOWNLOAD_BASE_URL=http://cloud-xmn.int.rclabenv.com/remote.php/dav/files/mthor_cloud
RC_DOWNLOAD_USERNAME=mthor_cloud
RC_DOWNLOAD_PASSWORD=NextCloud123

# GitLab Configuration (IMPORTANT: Include /api/v4)
SP_GITLAB_BASE_URL=https://git.yourcompany.com/api/v4
SP_GITLAB_PROJECT_ID=24890
GITLAB_TOKEN=your-gitlab-personal-access-token

# mThor Account Pool GitLab Configuration (recommended)
MTHOR_GITLAB_BASE_URL=https://git.yourcompany.com/api/v4
MTHOR_GITLAB_PROJECT_ID=12345
MTHOR_GITLAB_FILE_PATH=src/main/resources/account/mThor-mZeus-account.yaml
MTHOR_GITLAB_BRANCH=master

# Internal APIs
SP_INTAPI_BASE_URL=http://intapi.yourcompany.com:8082
AP_BASE_URL=https://account-pool.yourcompany.com
DS_BASE_URL=https://device-spy.yourcompany.com

Important:

  • The .rc-cli.env file in your home directory is global for all projects
  • You can also create a .env file in specific project directories
  • Never commit .env files to version control

Configuration Locations

RC CLI searches for configuration in this order (first found wins):

  1. .env in current directory (project-specific)
  2. ~/.rc-cli.env in your home directory (global)
  3. Environment variables in your shell (highest priority)

Getting GitLab Token

  1. Go to GitLab → User Settings → Access Tokens
  2. Create a new token with read_api scope
  3. Copy the token and use it in your configuration

🚀 Quick Start

# Check configuration
rc config

# Service Parameters
rc sp tui              # Interactive TUI (recommended)
rc sp list             # List all service parameters
rc sp search 'SMS'     # Search for parameters

# Feature Flags
rc ffs tui             # Interactive TUI
rc ffs search 'flag'   # Search flags

# Account Pool
rc ap tui                      # Interactive TUI (includes all features below)
rc ap get webAqaXmn            # Get random account
rc ap by-alias webAqaXmn       # Get account by alias from GitLab
rc ap list-aliases             # List all available aliases
rc ap alias-info webAqaXmn     # Get alias details

# Device Spy
rc ds udid <UDID>              # Get device info
rc ds devices android          # List devices

# Downloads
rc download aqa        # Download AQA apps

📖 Documentation

For detailed documentation, visit [Documentation Link] or run:

rc info

🔐 Security Notes

  • Never commit .env files to version control
  • Use GitLab personal access tokens, not passwords
  • Keep your tokens secure and rotate them regularly

🐛 Troubleshooting

"GitLab URL not configured" Error

This means you haven't set up your configuration yet:

# Check configuration status
rc config show

# Run setup wizard
rc config setup

Configuration Not Loading

# Check which config files exist
rc config show

# Verify file location
ls -la ~/.rc-cli.env

DNS Resolution Errors

If you see "nodename nor servname provided" error:

  • For rc download ..., your DOWNLOAD_BASE_URL is unset or still using the placeholder host
  • Run rc config show to inspect the active download settings
  • Run rc config setup or edit ~/.rc-cli.env with the real download server URL

📚 Documentation

📝 License

[Your License Here]

Metadata

Release files for my-cli-utilities 0.4.8.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for my-cli-utilities 0.4.8.2
File Size Uploaded Provenance Actions
my_cli_utilities-0.4.8.2.tar.gz 96.5 kB Without provenance Details for my_cli_utilities-0.4.8.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for my-cli-utilities 0.4.8.2
File Interpreter ABI Platform Actions
my_cli_utilities-0.4.8.2-py3-none-any.whl Python 3 none any Details for my_cli_utilities-0.4.8.2-py3-none-any.whl

Total release size: 235.6 kB

Release files / my_cli_utilities-0.4.8.2.tar.gz

Download URL my_cli_utilities-0.4.8.2.tar.gz
Size 96.5 kB
Tags Source
SHA-256 checksum
How to use checksums
4bdf78c68351c7938650166c2b82b91572fc6115d997bc2f7c3361826fbe2209
BLAKE2b-256 checksum
How to use checksums
3ef4d8bc4e1b9303852b5c43870f049fb22f0d2d4e5e35dd1f2c81379fb71dc6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.11.4

Release files / my_cli_utilities-0.4.8.2-py3-none-any.whl

Download URL my_cli_utilities-0.4.8.2-py3-none-any.whl
Size 139.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
63d349b1491b5fc37e9c55f0449d077e47f1d44521738bee4b7c154393ad2501
BLAKE2b-256 checksum
How to use checksums
acac43bb0f9e61d3f4977f412ef22c3f07a8f87532db0cec996d2ab5a19af0f2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.11.4

Security for my-cli-utilities 0.4.8.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.4.8.2 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page