fw projects list
projects list
List your projects
Added in 0.1.0.
Usage
fw projects list [flags]
Options
| Name | Type | Description |
|---|---|---|
| --json | bool |
print JSON on stdout, for scripts and agents |
| --url | string |
Framework Cloud server Environment variable: |
Value
With --json, {"server": ..., "projects": [...]}. Each project has slug, name, language, type, description, and created_at.
Exit codes
| Code | Meaning |
|---|---|
| 0 | Success |
| 1 | Failure |
| 2 | Bad flags or arguments |
| 3 | Not logged in, or the server rejected the token |
| 4 | The server has no such project or resource |
| 5 | Browser login was denied, or its code expired |
| 6 | An upload has "private" in a path; rerun with --include-private if you mean to send it |
With --json, a failure also prints one JSON line on stderr: {"error": "...", "exit_code": 4}. Exit code 6 adds "reason": "private_path".
Examples
Not run
fw projects list
fw projects list --json