piknik

Unnamed repository; edit this file 'description' to name the repository.
Info | Log | Files | Refs | README | LICENSE

commit 8facdb6e9c85945655406a5ce31dc4272d3f2374
parent 74b7495c72433a2405be952fdcefb0854c345b2e
Author: lash <dev@holbrook.no>
Date:   Sat, 22 Apr 2023 23:34:51 +0100

Show as default subcmd

Diffstat:
MCHANGELOG | 4++++
Mpiknik/runnable/cmd.py | 3++-
Msetup.cfg | 2+-
3 files changed, 7 insertions(+), 2 deletions(-)

diff --git a/CHANGELOG b/CHANGELOG @@ -1,3 +1,7 @@ +- 0.3.13: + * Invoke show command as default if no subcommand specified +- 0.3.12: + * Auto-generate alias from uuid when missing - 0.3.11: * Make msg, tag and dep work with alias - 0.3.10 diff --git a/piknik/runnable/cmd.py b/piknik/runnable/cmd.py @@ -54,7 +54,8 @@ elif arg.cmd == 'comment': m = importlib.import_module('piknik.cli.comment') else: if not have_help: - raise ValueError('unknown subcommand') + #raise ValueError('unknown subcommand') + m = importlib.import_module('piknik.cli.show') if m != None: argp = m.subparser(argp) diff --git a/setup.cfg b/setup.cfg @@ -1,6 +1,6 @@ [metadata] name = piknik -version = 0.3.11 +version = 0.3.13 description = CLI issue tracker author = Louis Holbrook author_email = dev@holbrook.no