list

gest artifact list: list artifacts in the current project.

struct Command

source

pub struct Command

List artifacts in the current project.

Field Type Description
all bool Show all artifacts, including archived.
archived bool Show only archived artifacts.
limit LimitArgs The --limit option, which caps how many items print.
tag Option<String> Filter by tag.
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>

Query artifacts with the requested filters and render them as a table, JSON, or plain IDs.

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.