Convert to click for CLI options
click is a pretty cool library for handling command line options. It's fairly popular and has some properties that make it nicer for Mailman than our homegrown approach. There are a few downsides, but those might be related to my current knowledge of the library.
Adopting click may make sense if it means less code for us and a better plugin architecture for subcommands.
Close #319 (closed) and #346 (closed)
Edited by Barry Warsaw
Merge request reports
Activity
added 1 commit
-
2005cb13 - Make
mailman version
the same asmailman --version
.
-
2005cb13 - Make
added 9 commits
-
2005cb13...8f8e4f0b - 2 commits from branch
master
- 1d957cac - Convert the runner script to click.
- eb8916cc - Make sure locale settings are passed through to the subprocess.
- e5d51a48 - Covert the master script to click.
- 679b614a - Convert the mailman subcommands to click.
- 498f47ef - If the subcommand isn't given, signal this correctly to click.
-
22750963 - Make
mailman version
the same asmailman --version
. - b0a82515 - Merge branch 'click-cli' of gitlab.com:mailman/mailman into click-cli
Toggle commit list-
2005cb13...8f8e4f0b - 2 commits from branch
added 2 commits
added 2 commits
added 1 commit
- d969a7b3 - Several fixes to the master/runner system and tests.
added 3 commits
added 1 commit
-
65ead94e - Hook
mailman
into the transaction machinery.
-
65ead94e - Hook
added 3 commits
added 1 commit
- be398631 - Try setting the LC_ALL environment variable globally.
added 2 commits
added 1 commit
- 85015831 - Maybe it's tox smashing the locale variables.
mentioned in issue #378 (closed)
added 9 commits
-
c2eed499...f54c0455 - 8 commits from branch
master
- 10aaee98 - Merge branch 'master' into click-cli
-
c2eed499...f54c0455 - 8 commits from branch
added 1 commit
- c85068dc - Remove some code which will never be reached.
added 1 commit
- 7672e94e - Use a better API for showing commands in documentation.
added 2 commits
added 3 commits
- 1f4bb11e - Work around https://github.com/pallets/click/issues/834
- 9e5e661a - When a bogus subcommand is given, there's no database to commit.
- db1c98be - Accept -h as well as --help
added 1 commit
- 49cdb03f - Add a comment, remove a blank line, and don't worry about coverage.
added 1 commit
- 9baccda3 - Restore the --run argument behavior from Mailman 2.
added 1 commit
- 4e5ee446 - One more line that doesn't easily get covered.
Please register or sign in to reply