firmis list - List Detected Platforms
Synopsis
Section titled “Synopsis”firmis list [options]Description
Section titled “Description”firmis list answers one question fast: what platforms are present in this project?
Before running scan or discover, run list to confirm which platforms Firmis will cover. It auto-detects all platforms in your current environment and prints each one with a component count. The --json flag outputs a structured object suitable for piping into scripts or conditional CI steps.
For the full picture - component names, file paths, AI dependencies, and model references - use firmis discover instead. firmis list is optimized for speed and scripting, not for detailed inspection.
firmis list is read-only. It does not modify any files.
Examples
Section titled “Examples”List detected platforms in the current environment
Section titled “List detected platforms in the current environment”npx firmis listOutput as JSON for scripting
Section titled “Output as JSON for scripting”npx firmis list --jsonConditionally scan only if MCP is present
Section titled “Conditionally scan only if MCP is present”npx firmis list --json | jq -e '.platforms[] | select(.type == "mcp")' && \ npx firmis-cli scan --platform mcpOptions
Section titled “Options”| Flag | Type | Default | Description |
|---|---|---|---|
--json | boolean | false | Output as JSON instead of the human-readable format. The JSON includes a platforms array and a totalComponents count. |
Exit Codes
Section titled “Exit Codes”| Code | Meaning |
|---|---|
0 | Detection completed. Zero or more platforms found. |
1 | Detection failed with an error. |