zShSpec top-level property
Implementation
final FigSpec zShSpec = FigSpec(
name: 'z',
description: 'CLI tool to jump around directories',
args: [
FigArg(
name: 'directory',
isVariadic: true,
isOptional: true,
generators: [zShGenerator],
),
],
options: [
FigOption(
name: '-c',
description:
'Restrict matches to subdirectories of the current directory'),
FigOption(name: '-e', description: "Echo the best match, don't cd"),
FigOption(name: '-h', description: 'Show a brief help message'),
FigOption(name: '-l', description: 'List only'),
FigOption(name: '-r', description: 'Match by rank only'),
FigOption(name: '-t', description: 'Match by recent access only'),
FigOption(
name: '-x',
description: 'Remove the current directory from the datafile'),
],
);