show

gest config show: show the current configuration.

struct Command

source

pub struct Command

Show the current configuration.

Field Type Description
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>

Print the merged configuration along with the sources it was loaded from.

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.