airobo 0.1.0__py3-none-any.whl → 0.1.2__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/api.py CHANGED
@@ -2,14 +2,25 @@
2
2
  API callbacks!
3
3
  """
4
4
 
5
- # ======================================================================================
5
+ # Declarations / modules
6
+ from airobo.modules import publishAndroid
7
+ from airobo.modules import publishIOS
6
8
 
9
+ # ======================================================================================
7
10
 
8
11
  """
9
12
  Simulate publishing something.
10
13
  """
11
- def publish():
12
- print("Publishing...")
14
+ def publish(plat):
15
+ if plat != "ios" and plat != "android" and plat != None:
16
+ return "Supply a valid platform type!"
17
+ if plat == "ios":
18
+ publishIOS()
19
+ elif plat == "android":
20
+ publishAndroid()
21
+ else: #default : publish all.
22
+ publishIOS()
23
+ publishAndroid()
13
24
 
14
25
  #----------------------------------------
15
26
 
@@ -17,12 +28,4 @@ def publish():
17
28
  Simulate checking status.
18
29
  """
19
30
  def version():
20
- print("2.2")
21
-
22
- #----------------------------------------
23
-
24
- """
25
- Simulate checking status.
26
- """
27
- def status():
28
- print("Status: OK")
31
+ print("2.3")
airobo/cli.py CHANGED
@@ -9,7 +9,6 @@ from airobo.api import publish, version, status
9
9
  commands = {
10
10
  "publish": publish,
11
11
  "version": version,
12
- "status": status
13
12
  }
14
13
 
15
14
 
@@ -0,0 +1,6 @@
1
+ """
2
+ Android App Publishing Module
3
+ """
4
+
5
+ def publish_android():
6
+ print("publishing Android")
@@ -0,0 +1,6 @@
1
+ """
2
+ Android App Publishing Module
3
+ """
4
+
5
+ def publish_ios():
6
+ print("publishing iOS")
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: airobo
3
- Version: 0.1.0
3
+ Version: 0.1.2
4
4
  Summary: A CLI tool for Airobo tasks
5
5
  Author-email: Joshua Morvant <joshua@aiarobo.com>
6
6
  Requires-Python: >=3.7
@@ -0,0 +1,10 @@
1
+ airobo/__init__.py,sha256=wQC93xBJqTm_jHoO4hD_A9SP4vvVAMzOUM3vn_-bsB0,24
2
+ airobo/api.py,sha256=YuNSw5XdCW7YFnXCh0_DezMlOv9zebC3y2FvODKBDX4,723
3
+ airobo/cli.py,sha256=k6n6GXcHnQlqDA8EukY1kb-z7lF2zJC1EaTLamFZcVM,999
4
+ airobo/modules/publishAndroid.py,sha256=D1tmKAoYlIt85MhtOyAZXiVtscxiIgzFodqbVEbU_Ok,98
5
+ airobo/modules/publishIOS.py,sha256=5HtnBejXtFNGJ719ydfKX0IO4hoJD5MlxKbmD-S7Dbg,90
6
+ airobo-0.1.2.dist-info/METADATA,sha256=WARS35XdOl0jR5WH0fRKJ_GliItHXiqIwgFDkSf7q9o,207
7
+ airobo-0.1.2.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
8
+ airobo-0.1.2.dist-info/entry_points.txt,sha256=tWld-TShvEFSonDWXCvsiBq-dNOY3Qo6FI48pd1S7eE,43
9
+ airobo-0.1.2.dist-info/top_level.txt,sha256=3vchuQftD3xE45bZMuHJVTRVpiC8FKJyJwsrGAjfwKg,7
10
+ airobo-0.1.2.dist-info/RECORD,,
@@ -1,8 +0,0 @@
1
- airobo/__init__.py,sha256=wQC93xBJqTm_jHoO4hD_A9SP4vvVAMzOUM3vn_-bsB0,24
2
- airobo/api.py,sha256=GS0jWFwmxVHav0R3ITeumHCq8JT5skeItkFlHVPRhNQ,448
3
- airobo/cli.py,sha256=kvD124HsIPmWH3YdfcrtpdTDlfDM-NyX5F3c42QhQq8,1021
4
- airobo-0.1.0.dist-info/METADATA,sha256=f8qETeqt9j7Fgxx4l2vJYUkwVv6vLZbrVY8SGbH4udI,207
5
- airobo-0.1.0.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
6
- airobo-0.1.0.dist-info/entry_points.txt,sha256=tWld-TShvEFSonDWXCvsiBq-dNOY3Qo6FI48pd1S7eE,43
7
- airobo-0.1.0.dist-info/top_level.txt,sha256=3vchuQftD3xE45bZMuHJVTRVpiC8FKJyJwsrGAjfwKg,7
8
- airobo-0.1.0.dist-info/RECORD,,
File without changes