clap/clap_complete_fig/tests/snapshots/aliases.fig.js
2022-03-07 14:08:56 -06:00

32 lines
639 B
JavaScript

const completion: Fig.Spec = {
name: "my-app",
description: "testing bash completions",
options: [
{
name: ["-o", "-O", "--option", "--opt"],
description: "cmd option",
args: {
name: "option",
isOptional: true,
},
},
{
name: ["-h", "--help"],
description: "Print help information",
},
{
name: ["-V", "--version"],
description: "Print version information",
},
{
name: ["-f", "-F", "--flag", "--flg"],
description: "cmd flag",
},
],
args: {
name: "positional",
isOptional: true,
},
};
export default completion;