fw project status
project status
Show this project's language, runtime, and cloud link
Added in 0.1.0.
Usage
fw project status [flags]
Options
| Name | Type | Description |
|---|---|---|
| --json | bool |
print JSON on stdout, for scripts and agents |
Value
With --json, an object with root, language, language_source, runner (a list), runner_reason, cloud (linked, server, server_source, project, ok, problem), and warnings.
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
fw project status
fw project status --json