Imported from softwareone-platform/swo-marketplace-cli (
AGENTS.md). Install upstream withnpx skills add softwareone-platform/swo-marketplace-cli. Copyright stays with the author.
AGENTS.md
Working protocol for any task in this repository:
- Identify the task type and select only the local repository files that are relevant to that task.
- Read only those relevant local files before making changes.
- If any selected local file references shared standards or shared operational guidance that are relevant to the same task, read those shared documents too before proceeding.
- Treat repository-local documents as repository-specific additions, restrictions, or overrides to shared guidance.
- If a repository-local rule conflicts with a shared rule, the local repository rule takes precedence.
When applicable, read this repository in the following order:
- README.md for the repository purpose, quick start, and documentation map.
- docs/architecture.md for the CLI structure, domains, and boundaries.
- docs/local-development.md for the Docker-based local workflow and supported commands.
- docs/usage.md for end-user CLI commands, examples, and troubleshooting.
- docs/plugin-development.md when a task involves adding, changing, or debugging CLI plugins.
- docs/contributing.md for repository-specific contribution guidance.
- docs/testing.md before changing code or tests.
- docs/documentation.md when changing repository documentation.
Then inspect the code paths relevant to the task:
cli/swocli.py: main Typer application, global options, and plugin loadingcli/core/accounts/: account configuration, persistence, activation, and account-aware flowscli/core/mpt/: Marketplace API client setup, API adapters, and shared Marketplace modelscli/core/products/: product export and sync workflowscli/core/price_lists/: price list export and sync workflowscli/core/handlers/: shared file handling and Excel/JSON helperscli/core/services/: service abstractions and orchestration helperscli/plugins/: plugin discovery and bundled plugin commands such asaudittests/: pytest coverage by domain areamake/: canonical local commandscompose.yamlandDockerfile: Docker-based local execution model
Operational guidance:
- Use Docker-backed commands only. Prefer
maketargets anddocker compose run --rm app ...over host Python execution. - Keep
README.mdshort and navigational. Put end-user command details indocs/usage.md. - Keep repository policy in
docs/and keep.github/copilot-instructions.mdthin.