dry-cli
dry-cli copied to clipboard
General purpose Command Line Interface (CLI) framework for Ruby
## Describe the bug When global options are defined in a Base command class from which all other commands are derived, it is possible for an alias in the global...
## Overview Currently there are several PR for v1.0/main update for the filename. - #130 (for main/v1) - #127 (for main/v1) But unfortunately, the bug affects `v0.7` as well. **TLDR;...
```ruby option :option_name, desc: "This is an option", required: true ``` `required: true` is accepted and implemented by `Option`, but not used by `Parser` or `Banner`. This PR implements the...
Hello folks! I have seen that there is a problem in one of the links in the documentation: If you navigate to `https://dry-rb.org/gems/dry-cli/main/` and click in the menu on `Commands...
Feature request : In some cases it's required to have mutually-exclusive arguments or options. For example if I have a program that will convert coordinates to a player name or...
Fix the name from `filename.md` to `filename.html.md` as for other documentation pages else it causes the page to force download instead of being rendered: https://dry-rb.org/gems/dry-cli/1.0/commands-with-subcommands-and-params.
## Describe the bug Given the following `example`: ```ruby #!/usr/bin/env ruby require "bundler/setup" require "dry/cli" module Foo module CLI module Commands extend Dry::CLI::Registry class Start < Dry::CLI::Command argument :arg, values:...
They were missing from the docs.
I would like to get your feedback whether you would accept a PR for shell autocompletion. I am in the process of migrating a RubyGems from [gli](http://davetron5000.github.io/gli/) ([GitHub](https://github.com/davetron5000/gli)) to dry-cli....