deno-cliffy
deno-cliffy copied to clipboard
Command line framework for deno 🦕 Including Commandline-Interfaces, Prompts, CLI-Table, Arguments Parser and more...
We ship some cli binaries compiled using `deno compile` because it provides a convenient single executable to download and install. One downside of this approach is that apparently `UpgradeCommand` does...
Right now, the only way I can find to set the name is to add an additional flag for the internal name I want it to have.
I'm not certain why the help output is always indented, but it would be great if that could at least be turned off. https://github.com/c4spar/deno-cliffy/blob/46a2b833dbc89754073d4bad6e753bca19184f11/command/help/_help_generator.ts#L81 This doesn't seem standard to most...
```typescript import { Command } from "https://deno.land/x/[email protected]/command/mod.ts"; await new Command() .name("demo") .version("0.0.0") .description("DEMO") .option("--watch", "watch mode", { global: true, }) .command("build", new Command().description("Build.")) .action(console.dir) .parse(Deno.args); ``` input `deno run -A...
This is a bit of a random thought, so not sure how feasible and/or useful it is. But on the surface it seems useful to me to expose some of...
Referencing https://github.com/c4spar/deno-cliffy/blob/d93ad7d8033dd5a630e6bad05722f96392e7c54e/command/command.ts#L1250-L1267, it would be a nice feature to be able to perform my own validation after using `Command.parse()`, so that I can throw a custom error which also displays...
As discussed in #225, it could be nice to make it possible to create conflicting depending on passed arguments One use case could be when you want the default argument...
Options: * date: boolean * time: boolean * dateFormat: string
Add a prompt module which opens the default text editor for editing files or string values. Options: * file: File | string * content: string * maxLength