airobo 0.1.0__tar.gz → 0.1.1__tar.gz

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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: airobo
3
- Version: 0.1.0
3
+ Version: 0.1.1
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,31 @@
1
+ """
2
+ API callbacks!
3
+ """
4
+
5
+ # Declarations / modules
6
+ from airobo.modules import publishAndroid
7
+ from airobo.modules import publishIOS
8
+
9
+ # ======================================================================================
10
+
11
+ """
12
+ Simulate publishing something.
13
+ """
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()
24
+
25
+ #----------------------------------------
26
+
27
+ """
28
+ Simulate checking status.
29
+ """
30
+ def version():
31
+ print("2.2")
@@ -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.1
4
4
  Summary: A CLI tool for Airobo tasks
5
5
  Author-email: Joshua Morvant <joshua@aiarobo.com>
6
6
  Requires-Python: >=3.7
@@ -6,4 +6,6 @@ airobo.egg-info/PKG-INFO
6
6
  airobo.egg-info/SOURCES.txt
7
7
  airobo.egg-info/dependency_links.txt
8
8
  airobo.egg-info/entry_points.txt
9
- airobo.egg-info/top_level.txt
9
+ airobo.egg-info/top_level.txt
10
+ airobo/modules/publishAndroid.py
11
+ airobo/modules/publishIOS.py
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "airobo"
7
- version = "0.1.0"
7
+ version = "0.1.1"
8
8
  description = "A CLI tool for Airobo tasks"
9
9
  authors = [
10
10
  { name="Joshua Morvant", email="joshua@aiarobo.com" }
@@ -1,28 +0,0 @@
1
- """
2
- API callbacks!
3
- """
4
-
5
- # ======================================================================================
6
-
7
-
8
- """
9
- Simulate publishing something.
10
- """
11
- def publish():
12
- print("Publishing...")
13
-
14
- #----------------------------------------
15
-
16
- """
17
- Simulate checking status.
18
- """
19
- def version():
20
- print("2.2")
21
-
22
- #----------------------------------------
23
-
24
- """
25
- Simulate checking status.
26
- """
27
- def status():
28
- print("Status: OK")
File without changes
File without changes