From cca5bf4866da788f12eb5f6a4e4cba5c7b84b8e6 Mon Sep 17 00:00:00 2001 From: Daylin Morgan Date: Fri, 26 May 2023 22:27:05 -0500 Subject: [PATCH] WIP: shims --- src/viv/viv.py | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/viv/viv.py b/src/viv/viv.py index 5f082f8..7f6756f 100755 --- a/src/viv/viv.py +++ b/src/viv/viv.py @@ -1113,6 +1113,9 @@ class Viv: ), ): self._install_local_src(sha256, args.src, args.cli) + def shim(self, args): + """generate viv-powered cli apps""" + echo("not implemented.") def _get_subcmd_parser( self, @@ -1274,6 +1277,11 @@ class Viv: "-p", "--pythonpath", help="show the path/to/install", action="store_true" ) + self._get_subcmd_parser( + subparsers, + "shim", + ).set_defaults(func =self.shim, cmd="shim") + args = parser.parse_args() args.func(args)