dry-cli icon indicating copy to clipboard operation
dry-cli copied to clipboard

General purpose Command Line Interface (CLI) framework for Ruby

Results 19 dry-cli issues
Sort by recently updated
recently updated
newest added

This is a feature I started working on long ago for Hanami: https://github.com/hanami/hanami/pull/906 There could be two parts to this: - Colorizing the output of `dry-cli`, like each command's `help`...

bug
help wanted

Acts like :boolean, but doesn't imply `--[no-]` prefix #42

I'm working on idea of invoking commands from other commands to combine them together. Say you have views, model, controller generators and you want to make a scaffold command ```ruby...

feature

## Describe the bug Latest documentation (0.6) is not aligned with latest release (0.7). As if this e.g. this page is outdated: https://dry-rb.org/gems/dry-cli/0.6/file-utilities/ ## To Reproduce Open https://dry-rb.org/gems/dry-cli ## Expected...

bug
help wanted

## Describe the bug Keyword arguments for a command aren't passed correctly to commands that use callbacks. ## To Reproduce I have two gems: `hanami-cli` that depends on `dry-cli`, and...

bug
help wanted

Right now, `--help` only goes one level deep. I think we should keep it that way, but it'd be nice to have another command that recursively prints out every command...

feature
In progress

I noticed that failure `Result` objects have `ERROR:` hardcoded into their message. How errors are formatting or printed should be left up to the user or some `print_error` method that...

feature

It would be nice to be able to add documentation to command *prefixes*. The way `dry-cli` deals with subcommands disallows adding documentation to be shown calling `--help` over the subcomand...

feature

## Flags [options](https://dry-rb.org/gems/dry-cli/1.0/options/) are always considered having a value `--mode=http2` or `--mode http2`. - [ ] Having flags (options without value) E.g. just having `--color`, having the flag equals `options.fetch(:color)`...