airobo 0.1.10__py3-none-any.whl → 0.1.12__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- airobo/cli.py +14 -7
- {airobo-0.1.10.dist-info → airobo-0.1.12.dist-info}/METADATA +1 -1
- {airobo-0.1.10.dist-info → airobo-0.1.12.dist-info}/RECORD +6 -6
- {airobo-0.1.10.dist-info → airobo-0.1.12.dist-info}/WHEEL +0 -0
- {airobo-0.1.10.dist-info → airobo-0.1.12.dist-info}/entry_points.txt +0 -0
- {airobo-0.1.10.dist-info → airobo-0.1.12.dist-info}/top_level.txt +0 -0
airobo/cli.py
CHANGED
@@ -18,16 +18,23 @@ def main():
|
|
18
18
|
parser = argparse.ArgumentParser(prog='airobo')
|
19
19
|
subparsers = parser.add_subparsers(dest='command', help='Available commands')
|
20
20
|
|
21
|
-
#
|
22
|
-
|
23
|
-
|
21
|
+
# Create publish subparser with optional platform argument
|
22
|
+
publish_parser = subparsers.add_parser('publish', help='Publish app to stores')
|
23
|
+
publish_parser.add_argument('platform', nargs='?', choices=['ios', 'android'],
|
24
|
+
help='Platform to publish to (optional, defaults to both)')
|
25
|
+
|
26
|
+
# Create version subparser
|
27
|
+
subparsers.add_parser('version', help='Show version')
|
24
28
|
|
25
29
|
args = parser.parse_args()
|
26
30
|
|
27
|
-
#
|
28
|
-
if args.command
|
29
|
-
|
30
|
-
|
31
|
+
# Handle commands
|
32
|
+
if args.command == 'publish':
|
33
|
+
# Pass the platform argument to publish function
|
34
|
+
platform = getattr(args, 'platform', None)
|
35
|
+
publish(platform)
|
36
|
+
elif args.command == 'version':
|
37
|
+
version()
|
31
38
|
else:
|
32
39
|
parser.print_help()
|
33
40
|
|
@@ -1,10 +1,10 @@
|
|
1
1
|
airobo/__init__.py,sha256=wQC93xBJqTm_jHoO4hD_A9SP4vvVAMzOUM3vn_-bsB0,24
|
2
2
|
airobo/api.py,sha256=4SrLqd-aq4BX7oZ0l9Diw1gojO6gCSIrcfW4YAR6t4s,2134
|
3
|
-
airobo/cli.py,sha256=
|
3
|
+
airobo/cli.py,sha256=DSnMZ3mY2KOQacZRiapAQ8opshGuc8SkCzuyvBXdMm4,1279
|
4
4
|
airobo/modules/publishAndroid.py,sha256=D1tmKAoYlIt85MhtOyAZXiVtscxiIgzFodqbVEbU_Ok,98
|
5
5
|
airobo/modules/publishIOS.py,sha256=5HtnBejXtFNGJ719ydfKX0IO4hoJD5MlxKbmD-S7Dbg,90
|
6
|
-
airobo-0.1.
|
7
|
-
airobo-0.1.
|
8
|
-
airobo-0.1.
|
9
|
-
airobo-0.1.
|
10
|
-
airobo-0.1.
|
6
|
+
airobo-0.1.12.dist-info/METADATA,sha256=gGWRE3oA6o_cFkM_KgSNmYnjiDnxCWyay1t-2bsaG1s,208
|
7
|
+
airobo-0.1.12.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
8
|
+
airobo-0.1.12.dist-info/entry_points.txt,sha256=tWld-TShvEFSonDWXCvsiBq-dNOY3Qo6FI48pd1S7eE,43
|
9
|
+
airobo-0.1.12.dist-info/top_level.txt,sha256=3vchuQftD3xE45bZMuHJVTRVpiC8FKJyJwsrGAjfwKg,7
|
10
|
+
airobo-0.1.12.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|