Uploaded image for project: 'Couchbase Server'
  1. Couchbase Server
  2. MB-14657

Couchbase-cli -h creates a lot of noise

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Major
    • None
    • 3.0
    • tools
    • Security Level: Public
    • None
    • Untriaged
    • Unknown

    Description

      Currently the CLI feels clumsy and noisy, and is not a pleasure to work with.

      Ideally what should happen is that -h should be context specific to the command being given.

      For example, if I was to run couchbase-cli -h then it should have the same output as without -h. However if I was to run couchbase-cli create-bucket -h, then it should show me the help output specific to that command.

      I've had a look over the source code, and it would require probably around 4-8 hours of work to get it working. If a core contributor can provide some reassurances that such a PR would be accepted, and also some guidance on whether the suggested changes are acceptable, then I will happily contribute that time to get this done.

      See also [here](1) for original discussion on forums.

      [1]: https://forums.couchbase.com/t/couchbase-cli-h-creates-a-lot-of-noise/3572

      Attachments

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              bcui Bin Cui (Inactive)
              sleepycal Cal Leeming
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes

                  PagerDuty