mirror of
https://github.com/niess/python-appimage.git
synced 2026-03-14 20:30:13 +01:00
Clean the CLI, applications workflow & README
This commit is contained in:
@@ -62,6 +62,12 @@ def main():
|
||||
help='path to the application metadata')
|
||||
build_app_parser.add_argument('-n', '--name',
|
||||
help='application name')
|
||||
build_app_parser.add_argument('-l', '--linux-tag',
|
||||
help='linux compatibility tag (e.g. manylinux1_x86_64)')
|
||||
build_app_parser.add_argument('--python-tag',
|
||||
help='python compatibility tag (e.g. cp37-cp37m)')
|
||||
build_app_parser.add_argument('-p', '--python-version',
|
||||
help='python version (e.g. 3.8)')
|
||||
|
||||
which_parser = subparsers.add_parser('which',
|
||||
description='Locate a binary dependency')
|
||||
|
||||
@@ -24,7 +24,8 @@ __all__ = ['execute']
|
||||
def _unpack_args(args):
|
||||
'''Unpack command line arguments
|
||||
'''
|
||||
return args.appdir, args.name
|
||||
return args.appdir, args.name, args.python_version, args.linux_tag, \
|
||||
args.python_tag
|
||||
|
||||
|
||||
_tag_pattern = re.compile('python([^-]+)[-]([^.]+)[.]AppImage')
|
||||
|
||||
Reference in New Issue
Block a user