readded ability to specify plugins via CLI

This commit is contained in:
əlemi 2022-04-19 11:31:37 +02:00
parent cdc5e9301f
commit 923dfa3532
No known key found for this signature in database
GPG key ID: BBCBFE5D7244634E

View file

@ -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('--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('--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 # parser.add_argument('--addon-path', dest='path', default='', help='path for loading addons') # TODO make this possible
args = parser.parse_args() args = parser.parse_args()