show

gest artifact show: show an artifact by ID or prefix.

struct Command

source

pub struct Command

Show an artifact by ID or prefix.

Field Type Description
id String The artifact ID or prefix.
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>

Resolve the artifact and render its details, tags, and notes.

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.