Skip to main content

ARC CLOUD CLI

CI Tests PyPI version Python Version License: MIT

ARC CLOUD CLI is a local Software X-Ray tool that analyzes a software project and generates a structured Software Blueprint containing detected languages, frameworks, platforms, dependencies, configuration and project structure.


Privacy & Security Guarantee

ARC CLOUD CLI performs project scanning locally.
Your source code is not uploaded to ARC CLOUD during local scanning.
  • 100% Offline & Local: Scanning runs entirely on your local machine without sending your code to any cloud server or LLM API.
  • Zero Code Execution: Manifests and code files are statically inspected. The scanner never executes project code or runs package managers (npm install, pip install, flutter pub get, gradle, cargo, etc.).
  • Secret Protection: Files matching .env, .env.*, credentials.json, id_rsa, *.key, and secret patterns are never read, printed, or exported.
  • No AI / LLM Requirement: Deterministic, rule-based static analysis engine.

Installation

Install once globally and run from any project directory:

pipx install arc-cloud

Standard pip

pip install arc-cloud

Development Installation

git clone https://github.com/arc-cloud-innovations/arc-cloud-cli.git
cd arc-cloud-cli
python3 -m venv .venv
source .venv/bin/activate  # On Windows: .venv\Scripts\activate
pip install -e ".[dev]"

Usage

1. Scan Current Project Directory

Navigate to any project on your computer and run:

cd my-project
arc scan

2. Scan a Specific Project Path

arc scan ./my-project
arc scan /absolute/path/to/project

3. Output as Raw JSON

Stream the normalized Software Blueprint JSON directly to stdout for scripting or piping into jq:

arc scan --json
arc scan ./my-project --json | jq .project

4. Export Blueprint to File

arc scan --output blueprint.json

5. Check CLI Version & Help

arc --version
arc --help

Supported Technologies

Programming Languages

  • Dart (.dart)
  • Python (.py, .pyi, .pyw)
  • JavaScript (.js, .mjs, .cjs, .jsx)
  • TypeScript (.ts, .mts, .cts, .tsx)
  • Java (.java)
  • Kotlin (.kt, .kts)
  • Swift (.swift)
  • C# (.cs, .csx)
  • C++ / C (.cpp, .cc, .cxx, .hpp, .h, .c)
  • Go (.go)
  • Rust (.rs)
  • PHP (.php)
  • Ruby (.rb)

Frameworks & Ecosystems

  • Flutter: pubspec.yaml, Flutter SDK dependencies, Dart files, Android/iOS directories.
  • React: package.json, react dependencies, JSX/TSX components.
  • Next.js: package.json, next dependencies, next.config.*, App/Pages router.
  • Node.js: package.json, JavaScript/TypeScript server signals.
  • FastAPI: requirements.txt, pyproject.toml, fastapi dependencies.
  • Django: requirements.txt, manage.py, django dependencies.
  • Spring Boot: pom.xml, build.gradle, Spring starter dependencies.
  • .NET: *.csproj, *.sln, SDK indicators.

Platforms Detected

  • Android, iOS, Web, Windows, macOS, Linux

Project Classifications

  • Mobile Application, Web Application, Backend, Full Stack, Desktop Application, Library, CLI Application, Unknown

CLI Commands Reference

Command Description
arc scan [PATH] Perform static project analysis and generate Software Blueprint (defaults to current directory)
arc --version Display the installed CLI version
arc --help Display general help and command options

Options for arc scan:

  • --json, -j: Output the normalized Software Blueprint as raw JSON to stdout.
  • --output, -o <FILE>: Save the normalized Software Blueprint JSON to a specified file.
  • --max-files <INT>: Maximum number of files to inspect (default: 20,000).
  • --max-depth <INT>: Maximum directory recursion depth (default: 20).

Software Blueprint JSON Specification

The Software Blueprint uses schema version 1.0:

{
  "schema_version": "1.0",
  "scanner": {
    "name": "ARC CLOUD CLI",
    "version": "0.1.0",
    "timestamp": "2026-09-04T12:00:00Z",
    "duration_seconds": 0.04,
    "files_scanned": 128
  },
  "project": {
    "name": "my_project",
    "type": "Mobile Application",
    "root_path": "/path/to/my_project",
    "description": null
  },
  "languages": [
    {
      "name": "Dart",
      "files": 45,
      "percentage": 88.2
    }
  ],
  "frameworks": [
    {
      "name": "Flutter",
      "version": "3.19.0",
      "category": "Mobile",
      "confidence": 1.0
    }
  ],
  "platforms": [
    {
      "name": "Android",
      "source": "android/ directory"
    },
    {
      "name": "iOS",
      "source": "ios/ directory"
    }
  ],
  "dependencies": [
    {
      "name": "cupertino_icons",
      "version": "^1.0.6",
      "source": "pubspec.yaml",
      "type": "runtime"
    }
  ],
  "configuration_files": [
    {
      "path": "pubspec.yaml",
      "name": "pubspec.yaml",
      "type": "package"
    }
  ],
  "structure": {
    "areas": [
      {
        "name": "source",
        "paths": ["lib"]
      },
      {
        "name": "tests",
        "paths": ["test"]
      }
    ],
    "total_files": 128,
    "total_directories": 14,
    "ignored_directories": [".git", ".dart_tool"]
  },
  "architecture": {
    "patterns": ["Layered / Modular Architecture"],
    "details": {
      "test_suite_detected": true
    }
  },
  "warnings": []
}

Development & Testing

Run all tests:

pytest -v

Run test coverage:

pytest --cov=arc_cloud --cov-report=term-missing

Build the distribution packages:

python -m pip install --upgrade build twine
python -m build
python -m twine check dist/*

Release Process

1. TestPyPI Publishing

twine upload -r testpypi dist/*

Verify the TestPyPI package:

pip install --index-url https://test.pypi.org/simple/ --extra-index-url https://pypi.org/simple/ arc-cloud
arc --version

2. Production PyPI Publishing

When authorized by the project owner:

git tag v0.1.0
git push origin v0.1.0

GitHub Actions will run tests, build distribution wheels, and publish to production PyPI via PyPI Trusted Publishing.


License

MIT License. See LICENSE for details.

Metadata

Release files for arc-cloud 0.1.0

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

Source distribution (sdist)

Source distribution for arc-cloud 0.1.0
File Size Uploaded
arc_cloud-0.1.0.tar.gz 29.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for arc-cloud 0.1.0
File Interpreter ABI Platform
arc_cloud-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 56.8 kB

Release files / arc_cloud-0.1.0.tar.gz

Download URL arc_cloud-0.1.0.tar.gz
Size 29.2 kB
Tags Source
SHA-256 checksum
How to use checksums
3313323bb871180d857f8923a9368655c797931d53c51a8afef53fb70e9517a6
BLAKE2b-256 checksum
How to use checksums
d250963c285c2ead2e3f3c0c61c69254d2f5a20bb16a0fa5c8aec4ec805bfab1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.14

Release files / arc_cloud-0.1.0-py3-none-any.whl

Download URL arc_cloud-0.1.0-py3-none-any.whl
Size 27.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
2114764f3dcb65f63b4f128e98b6d44eb734970a62a647ac52eef7537295c125
BLAKE2b-256 checksum
How to use checksums
35d652c06984104797c8e4dbc519696c16748f42c982dabb58ea4b09eafa75c9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.14

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files

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