From d819d833af88ed50621f0cfaf50e9176f98f89bc Mon Sep 17 00:00:00 2001 From: Lance Edgar Date: Tue, 21 Nov 2023 14:18:17 -0600 Subject: [PATCH] Add new wutta-style entry point group for subcommands --- setup.cfg | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/setup.cfg b/setup.cfg index 99e71b8..a4fad5d 100644 --- a/setup.cfg +++ b/setup.cfg @@ -48,6 +48,12 @@ rattail.config.extensions = console_scripts = rattail-demo = rattail_demo.commands:main +rattail_demo.subcommands = + export-shopfoo = rattail_demo.commands:ExportShopfoo + import-self = rattail_demo.commands:ImportSelf + install = rattail_demo.commands:Install + +# TODO: remove this legacy group once the above works okay rattail_demo.commands = export-shopfoo = rattail_demo.commands:ExportShopfoo import-self = rattail_demo.commands:ImportSelf