Rain CLI Documentation

Welcome to Rain CLI, a beautiful command-line tool for displaying comprehensive system information with rich formatting and colors.

PyPI version Python versions License

Overview

Rain CLI is a modern, feature-rich system information tool that provides:

Beautiful Interface

Rich colors and formatting for easy reading

🔄 Live Mode

Real-time system monitoring with auto-refresh

📊 JSON Output

Machine-readable format for scripts and automation

🌐 Cross-Platform

Works seamlessly on Linux, macOS, and Windows

Lightweight

Minimal resource usage and fast execution

🔧 Extensible

Modular design for easy enhancement and customization

Quick Start

Install Rain CLI using pip:

pip install rain-cli

Run it to see your system information:

rain

Example output:

╭─────────────────────────────────────────────────╮
│                   RAIN CLI                      │
│              System Information                 │
╰─────────────────────────────────────────────────╯

💻 CPU: Intel(R) Core(TM) i7-9750H @ 2.60GHz
🔧 Cores: 6 physical, 12 logical
📊 Usage: 15.2%

🧠 Memory: 8.2 GB / 16.0 GB (48.8% used)
💾 Disk: 125.5 GB / 500.0 GB (25.1% used)

For real-time monitoring:

rain --live

For machine-readable JSON output:

rain --json

Key Features

System Information

Rain CLI displays comprehensive information about your system:

  • CPU: Brand, cores, threads, usage, temperature

  • Memory: Total, available, used, percentage

  • Disk: All mounted drives with usage statistics

  • Network: Active interfaces and IP addresses

  • OS: Operating system, kernel, uptime

Display Modes

Choose from multiple display modes:

  • Default: Beautiful colored output with icons

  • Live: Real-time updating display

  • JSON: Structured data for automation

  • Quiet: Minimal output without decorations

Use Cases

Rain CLI is perfect for:

  • System Administration: Quick system health checks

  • Development: Monitoring resources during builds

  • Automation: JSON output for scripts and monitoring

  • Troubleshooting: Identifying performance bottlenecks

  • Documentation: Capturing system specifications

Table of Contents

Getting Help

If you encounter any issues or have questions:

  1. Check the User Guide for common usage patterns

  2. Look at the Examples for practical use cases

  3. Visit our GitHub Issues page

  4. Read the API Reference documentation for technical details

Contributing

We welcome contributions! Please see our Contributing guide for details on:

  • Reporting bugs

  • Suggesting features

  • Submitting pull requests

  • Development setup

License

Rain CLI is open source software licensed under the MIT License. See the LICENSE file for details.

# Show all system information
rain

# Show specific sections
rain -s system -s hardware

# Live monitoring mode
rain --live

# Output as JSON
rain --json

# Save to file
rain --save report.txt

Indices and tables