From 923dfa3532bdcb68732a1793092dbd49052a6423 Mon Sep 17 00:00:00 2001 From: alemidev Date: Tue, 19 Apr 2022 11:31:37 +0200 Subject: [PATCH] readded ability to specify plugins via CLI --- src/treepuncher/__main__.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/treepuncher/__main__.py b/src/treepuncher/__main__.py index 6cdf35c..fde2608 100644 --- a/src/treepuncher/__main__.py +++ b/src/treepuncher/__main__.py @@ -64,6 +64,7 @@ def main(): parser.add_argument('--mojang', dest='mojang', action='store_const', const=True, default=False, help="use legacy Mojang authenticator") parser.add_argument('--print-token', dest='print_token', action='store_const', const=True, default=False, help="show legacy token before stopping") + parser.add_argument('--addons', dest='add', metavar="A", nargs='+', type=str, default=None, help='specify addons to enable, defaults to all') # parser.add_argument('--addon-path', dest='path', default='', help='path for loading addons') # TODO make this possible args = parser.parse_args()