deno-cliffy icon indicating copy to clipboard operation
deno-cliffy copied to clipboard

Command line framework for deno 🦕 Including Commandline-Interfaces, Prompts, CLI-Table, Arguments Parser and more...

Results 60 deno-cliffy issues
Sort by recently updated
recently updated
newest added

Test command (from #392): ```typescript import { Command } from "./command/mod.ts"; await new Command() .name("sample-cli") .version("0.0.1") .env("FOO=", "FOO", { required: true }) .parse(Deno.args); ``` ## Before ``` Usage: sample-cli Version:...

Hello 👋 I'm using cliffy with two levels of `Select` prompting at the moment. That is, users need to select some item, but in order to not overwhelm them, those...

enhancement
module:prompt

```ts const { options } = await new Command() .option("--foo [value]", "description ...", { required: true, conflicts: ["bar", "baz"], }) .option("--bar", "description ...", { required: true, conflicts: ["foo"], }) .option("--baz",...

bug
module:command

Trying this, as found in the [example](https://github.com/c4spar/deno-cliffy/blob/main/examples/command/sub_commands.ts#L20)s ```ts .command( "db", new Command() .description("add a new database") .arguments("") .command("add ") .option("--no-replication", "Don't set-up replication") .action((opts, name) => console.log({ opts, name })),...

bug
module:command

Hi! Error message "Missing required environment variable" is displayed with help command. Is this intentional? ```typescript import { Command } from "https://deno.land/x/[email protected]/command/mod.ts"; await new Command() .name("sample-cli") .version("0.0.1") .env("FOO=", "FOO", {...

bug
module:command

Warnings were temporarily disabled in #395.

testing

With the following code ```ts const { args } = await new Command() .name("redirector") .version("0.1.0") .description("Create your own redirector service 🚀") .arguments("") .parse(Deno.args); console.log(args) ``` And executing it like this...

bug
module:command

As discussed in the discord channel https://discord.com/channels/748965956377772055/804514019301916693/853276012619890699 we should think about using different colors for the generated help text, because in some terminals like Powershell some parts of the help...

enhancement
module:command