James E. Blair 7455ae8c58
Output subcommand help on argument errors
If the user supplied insufficient or incorrect arguments, output the
help for the subcommand if it's available, otherwise output the
main help.

This addresses a sub-optmimal UX with the current code:
* User runs "zuul-client", sees a help message with subcommands.
* User runs "zuul-client --zuul-url=... encrypt" and gets an error
  message telling them to supply arguments that they never saw a help
  message for.  They must then intuit that they need to run
  "zuul-client encrypt --help" to learn what those arguments are.

With the new code, the user will:
* Run "zuul-client" and see a help message with subcommands.
* Run "zuul-client --zuul-url=... encrypt" and see the help
  message for the encrypt subcommand along with a message
  telling them they need to supply one of the required args.
* Run "zuul-client --zuul-url=... encrypt project" and succeed.

Change-Id: I4a32acfcc433ff38455703dd560ff60631fb29a5
2021-03-10 22:27:36 +01:00
2020-09-09 18:07:46 +02:00
2020-09-09 18:07:46 +02:00
2020-09-02 08:49:40 +00:00
2020-09-09 18:07:46 +02:00
2020-11-06 10:29:03 -08:00
2020-11-06 10:29:03 -08:00
2020-09-09 18:07:46 +02:00
2020-09-09 18:07:46 +02:00
2020-11-13 11:16:13 +11:00
2020-12-04 18:28:55 +00:00
2020-09-09 18:07:46 +02:00
2020-09-09 18:07:46 +02:00
2020-09-09 18:07:46 +02:00
2020-12-04 16:32:41 +01:00

Zuul-client

Zuul-client is a CLI tool that can be used to interact with Zuul, the project gating system.

The latest documentation for Zuul and Zuul Client can be found at: https://zuul-ci.org/docs/

Getting Help

There are two Zuul-related mailing lists:

zuul-announce

A low-traffic announcement-only list to which every Zuul operator or power-user should subscribe.

zuul-discuss

General discussion about Zuul, including questions about how to use it, and future development.

You will also find Zuul developers in the #zuul channel on Freenode IRC.

Contributing

To browse the latest code, see: https://opendev.org/zuul/zuul-client To clone the latest code, use git clone https://opendev.org/zuul/zuul-client

Bugs are handled at: https://storyboard.openstack.org/#!/project/zuul/zuul

Suspected security vulnerabilities are most appreciated if first reported privately following any of the supported mechanisms described at https://zuul-ci.org/docs/zuul/user/vulnerabilities.html

Code reviews are handled by gerrit at https://review.opendev.org

After creating a Gerrit account, use git review to submit patches. Example:

# Do your commits
$ git review
# Enter your username if prompted

Join #zuul on Freenode to discuss development or usage.

License

Zuul-client is free software, and licensed under the Apache License, version 2.0.

Python Version Support

Zuul-client requires Python 3. It does not support Python 2.

Description
Zuul client for end users
Readme 1.3 MiB
Languages
Python 99.3%
Dockerfile 0.7%