list
gest project list: list all known projects.struct Command
pub struct CommandList all known projects.
| Field | Type | Description |
|---|---|---|
all |
bool | Show all projects, including archived. |
limit |
LimitArgs | The --limit option, which caps how many items print. |
output |
json::Flags | The output mode: normal, --json, --quiet or --raw. |
Implements FromArgMatches, Args, Debug.
Command::call
pub async fn call(&self, context: &AppContext) -> Result<(), Error>Render all known projects, honoring the shared limit and output flags.
| Parameter | Type | Description |
|---|---|---|
context |
&AppContext | the application context: settings, store and current project |
| returns | Result<(), Error> | Ok(()) when the command succeeds, or the error that stopped it. |