| 1 |
const spec: Fig.Spec = { |
| 2 |
name: "foo", |
| 3 |
description: "A simple description", |
| 4 |
options: [{ name: "-a" }], |
| 5 |
subcommands: [{ name: "bar", displayName: "barbar" }, { name: "foo" }], |
| 6 |
}; |
| 7 |
|
| 8 |
export default spec; |
| 9 |
|
| 10 |
function foo() { |
| 11 |
return 1; |
| 12 |
} |
| 13 |
|
| 14 |
const a = 100; |