list

gest project list: list all known projects.

struct Command

source

pub struct Command

List 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

source

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.