agentleFS
stoa-platformstoa-platform/stoa/cli/CLAUDE.md

stoa / cli

CLAUDE.md9 starsChanged 7 months agoApache-2.0View on GitHub

Détail on-demand: .claude/docs/stoactl-usage.md, cli-first.md, code-style-python.md.

  • Installs packages

The file

Files
CLAUDE.md

STOA CLI

Overview

Command-line interface for STOA Platform management. Authenticate, browse APIs, deploy configurations via YAML manifests.

Tech Stack

  • Python 3.11, Typer (CLI framework), Rich (terminal formatting)
  • OIDC/PKCE browser-based auth via Keycloak

Commands

CommandDescription
stoa loginOIDC/PKCE browser-based auth
stoa logoutClear stored tokens
stoa get apisList APIs (table/json/wide)
stoa get api <id>Get API details
stoa apply -f <file>Create/update from YAML manifest
stoa statusConnection health + token state

Directory Structure

src/
├── commands/            # Subcommand modules (login, apply, get, status)
└── ...
tests/                   # 55 tests, 84% coverage

Development

pip install -e ".[dev]"
pytest --cov=src         # Tests
ruff check .             # Lint

Dependencies

  • Depends on: control-plane-api (REST API), Keycloak (auth)
  • Depended on by: nothing (end-user tool)

Règles

Détail on-demand: .claude/docs/stoactl-usage.md, cli-first.md, code-style-python.md.

  • stoactl > curl/bash pour toute opération supportée. Lire .claude/context/cli-reference.md avant de scanner src/.
  • Ligne 100. Python 3.11. Ruff + black.
  • --output json|yaml|table|csv supporté sur toutes les commandes.
  • --redact-pii default true sur audit export.
  • Après ajout de commande/schema: scripts/generate-cli-context.sh.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.