orrin-cli 0.1.4__tar.gz → 0.1.5__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.
@@ -0,0 +1,12 @@
1
+ Copyright (c) 2026 Stellr, LLC. All rights reserved.
2
+
3
+ This software and associated documentation files (the "Software") are proprietary to Stellr, LLC.
4
+
5
+ Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
6
+
7
+ 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
8
+ 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
9
+ 3. Commercial use requires a separate license agreement from Stellr, LLC. Contact ceo@stellr-company.com for licensing information.
10
+ 4. Neither the name of Stellr, LLC nor the names of its contributors may be used to endorse or promote products derived from this Software without specific prior written permission.
11
+
12
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL STELLR, LLC BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
@@ -0,0 +1,112 @@
1
+ Metadata-Version: 2.4
2
+ Name: orrin-cli
3
+ Version: 0.1.5
4
+ Summary: Orrin CLI
5
+ Requires-Python: >=3.9
6
+ Description-Content-Type: text/markdown
7
+ License-File: LICENSE
8
+ Requires-Dist: typer
9
+ Requires-Dist: requests
10
+ Requires-Dist: platformdirs
11
+ Dynamic: license-file
12
+
13
+ # Orrin CLI
14
+
15
+ The Orrin CLI enables users to perform the actions required to deploy a standalone app to Orrin Apps.
16
+
17
+ It is the standard tool for packaging UI bundles (ZIP files), uploading them to the server for review, and checking the status of the review process for both the frontend and backend.
18
+
19
+ ## The CLI
20
+ The CLI currently consists of two main commands:
21
+
22
+ | Command | Purpose |
23
+ | :--- | :--- |
24
+ | `config` | Manages configuration, including setting or revoking your Developer API key. |
25
+ | `ui` | Handles UI-related activities, including building and uploading the deployment ZIP file. |
26
+
27
+ Each command has specific subcommands detailed below.
28
+
29
+ ## Subcommands for `config`
30
+
31
+ | Command | Purpose |
32
+ | :--- | :--- |
33
+ | `configure-dev-api` | Configures your Developer API key within the Orrin CLI. |
34
+ | `revoke-config` | Removes your currently configured Developer API key. |
35
+ | `show-configuration` | Displays the Developer API key currently configured. |
36
+
37
+ ### Configuration of Developer API
38
+ Configuring your developer API key is the recommended first step. While not strictly required to install the CLI, the key is required to perform any deployment actions.
39
+
40
+ To configure your key, run:
41
+
42
+ ```bash
43
+ orrin config configure-dev-api
44
+ ```
45
+
46
+ ### Revoking Configuration
47
+ If you need to remove the currently configured Developer API key, run:
48
+
49
+ ```bash
50
+ orrin config revoke-config
51
+ ```
52
+
53
+ This effectively removes the stored key. You can reconfigure a new key at any time.
54
+
55
+ ### Showing the Configuration
56
+ If you have forgotten your developer API key, run:
57
+
58
+ ```bash
59
+ orrin config show-configuration
60
+ ```
61
+
62
+ This will print the stored Developer API key. As the Orrin CLI matures, this command will likely display additional developer metadata.
63
+
64
+ ## Subcommands for `ui`
65
+
66
+ | Command | Purpose |
67
+ | :--- | :--- |
68
+ | `generate-zip` | Runs at the root of the Next.js codebase. It builds the project, exports static contents, and zips them for upload. |
69
+ | `upload` | Sends the generated ZIP file to the server, adding it to the "STAGING" queue to await review. |
70
+
71
+ ### Generating ZIP File
72
+ To upload your UI for review and deployment, you must package the static contents of your codebase into a ZIP file.
73
+
74
+ From the root of your Next.js codebase, run:
75
+
76
+ ```bash
77
+ orrin ui generate-zip
78
+ ```
79
+
80
+ This performs a build and generates the required ZIP file.
81
+
82
+ **NOTE:** Ensure your `next.config.ts` contains the following configuration. Without this, the ZIP creation may fail:
83
+
84
+ ```tsx
85
+ import type { NextConfig } from 'next';
86
+
87
+ const nextConfig: NextConfig = {
88
+ output: 'export',
89
+ trailingSlash: true,
90
+ basePath: '/<your_app_name>/current',
91
+ reactStrictMode: true,
92
+ };
93
+
94
+ export default nextConfig;
95
+ ```
96
+
97
+ ### Uploading the UI
98
+ When you are ready, you can upload the UI to the server. This submits it to a "STAGING" queue, meaning it is awaiting review/approval.
99
+
100
+ Run the following command to upload:
101
+
102
+ ```bash
103
+ orrin ui upload --app <AppName>
104
+ ```
105
+
106
+ **Important Requirements:**
107
+ * **Backend First:** `<AppName>` must match the app name found in your backend configuration. An app is only created after the backend is submitted. If you attempt to submit the frontend before the backend, this command will fail with a "no app found" error.
108
+ * **App Linking:** Inherently, the UI code is not "attached" to an app. Passing `--app` allows the server to link the uploaded UI to the specific app record.
109
+
110
+ **The Review Process**
111
+ * **Overrides:** If you upload a new codebase using an existing app name, it will override the previous codebase and trigger a new review.
112
+ * **Updates:** A review is required for every upload before the UI can be hosted. If an app is already live and you submit an update, the old version persists until the new one is approved. Once approved, the new version takes over and the old version is cached.
@@ -0,0 +1,100 @@
1
+ # Orrin CLI
2
+
3
+ The Orrin CLI enables users to perform the actions required to deploy a standalone app to Orrin Apps.
4
+
5
+ It is the standard tool for packaging UI bundles (ZIP files), uploading them to the server for review, and checking the status of the review process for both the frontend and backend.
6
+
7
+ ## The CLI
8
+ The CLI currently consists of two main commands:
9
+
10
+ | Command | Purpose |
11
+ | :--- | :--- |
12
+ | `config` | Manages configuration, including setting or revoking your Developer API key. |
13
+ | `ui` | Handles UI-related activities, including building and uploading the deployment ZIP file. |
14
+
15
+ Each command has specific subcommands detailed below.
16
+
17
+ ## Subcommands for `config`
18
+
19
+ | Command | Purpose |
20
+ | :--- | :--- |
21
+ | `configure-dev-api` | Configures your Developer API key within the Orrin CLI. |
22
+ | `revoke-config` | Removes your currently configured Developer API key. |
23
+ | `show-configuration` | Displays the Developer API key currently configured. |
24
+
25
+ ### Configuration of Developer API
26
+ Configuring your developer API key is the recommended first step. While not strictly required to install the CLI, the key is required to perform any deployment actions.
27
+
28
+ To configure your key, run:
29
+
30
+ ```bash
31
+ orrin config configure-dev-api
32
+ ```
33
+
34
+ ### Revoking Configuration
35
+ If you need to remove the currently configured Developer API key, run:
36
+
37
+ ```bash
38
+ orrin config revoke-config
39
+ ```
40
+
41
+ This effectively removes the stored key. You can reconfigure a new key at any time.
42
+
43
+ ### Showing the Configuration
44
+ If you have forgotten your developer API key, run:
45
+
46
+ ```bash
47
+ orrin config show-configuration
48
+ ```
49
+
50
+ This will print the stored Developer API key. As the Orrin CLI matures, this command will likely display additional developer metadata.
51
+
52
+ ## Subcommands for `ui`
53
+
54
+ | Command | Purpose |
55
+ | :--- | :--- |
56
+ | `generate-zip` | Runs at the root of the Next.js codebase. It builds the project, exports static contents, and zips them for upload. |
57
+ | `upload` | Sends the generated ZIP file to the server, adding it to the "STAGING" queue to await review. |
58
+
59
+ ### Generating ZIP File
60
+ To upload your UI for review and deployment, you must package the static contents of your codebase into a ZIP file.
61
+
62
+ From the root of your Next.js codebase, run:
63
+
64
+ ```bash
65
+ orrin ui generate-zip
66
+ ```
67
+
68
+ This performs a build and generates the required ZIP file.
69
+
70
+ **NOTE:** Ensure your `next.config.ts` contains the following configuration. Without this, the ZIP creation may fail:
71
+
72
+ ```tsx
73
+ import type { NextConfig } from 'next';
74
+
75
+ const nextConfig: NextConfig = {
76
+ output: 'export',
77
+ trailingSlash: true,
78
+ basePath: '/<your_app_name>/current',
79
+ reactStrictMode: true,
80
+ };
81
+
82
+ export default nextConfig;
83
+ ```
84
+
85
+ ### Uploading the UI
86
+ When you are ready, you can upload the UI to the server. This submits it to a "STAGING" queue, meaning it is awaiting review/approval.
87
+
88
+ Run the following command to upload:
89
+
90
+ ```bash
91
+ orrin ui upload --app <AppName>
92
+ ```
93
+
94
+ **Important Requirements:**
95
+ * **Backend First:** `<AppName>` must match the app name found in your backend configuration. An app is only created after the backend is submitted. If you attempt to submit the frontend before the backend, this command will fail with a "no app found" error.
96
+ * **App Linking:** Inherently, the UI code is not "attached" to an app. Passing `--app` allows the server to link the uploaded UI to the specific app record.
97
+
98
+ **The Review Process**
99
+ * **Overrides:** If you upload a new codebase using an existing app name, it will override the previous codebase and trigger a new review.
100
+ * **Updates:** A review is required for every upload before the UI can be hosted. If an app is already live and you submit an update, the old version persists until the new one is approved. Once approved, the new version takes over and the old version is cached.
@@ -0,0 +1,112 @@
1
+ Metadata-Version: 2.4
2
+ Name: orrin-cli
3
+ Version: 0.1.5
4
+ Summary: Orrin CLI
5
+ Requires-Python: >=3.9
6
+ Description-Content-Type: text/markdown
7
+ License-File: LICENSE
8
+ Requires-Dist: typer
9
+ Requires-Dist: requests
10
+ Requires-Dist: platformdirs
11
+ Dynamic: license-file
12
+
13
+ # Orrin CLI
14
+
15
+ The Orrin CLI enables users to perform the actions required to deploy a standalone app to Orrin Apps.
16
+
17
+ It is the standard tool for packaging UI bundles (ZIP files), uploading them to the server for review, and checking the status of the review process for both the frontend and backend.
18
+
19
+ ## The CLI
20
+ The CLI currently consists of two main commands:
21
+
22
+ | Command | Purpose |
23
+ | :--- | :--- |
24
+ | `config` | Manages configuration, including setting or revoking your Developer API key. |
25
+ | `ui` | Handles UI-related activities, including building and uploading the deployment ZIP file. |
26
+
27
+ Each command has specific subcommands detailed below.
28
+
29
+ ## Subcommands for `config`
30
+
31
+ | Command | Purpose |
32
+ | :--- | :--- |
33
+ | `configure-dev-api` | Configures your Developer API key within the Orrin CLI. |
34
+ | `revoke-config` | Removes your currently configured Developer API key. |
35
+ | `show-configuration` | Displays the Developer API key currently configured. |
36
+
37
+ ### Configuration of Developer API
38
+ Configuring your developer API key is the recommended first step. While not strictly required to install the CLI, the key is required to perform any deployment actions.
39
+
40
+ To configure your key, run:
41
+
42
+ ```bash
43
+ orrin config configure-dev-api
44
+ ```
45
+
46
+ ### Revoking Configuration
47
+ If you need to remove the currently configured Developer API key, run:
48
+
49
+ ```bash
50
+ orrin config revoke-config
51
+ ```
52
+
53
+ This effectively removes the stored key. You can reconfigure a new key at any time.
54
+
55
+ ### Showing the Configuration
56
+ If you have forgotten your developer API key, run:
57
+
58
+ ```bash
59
+ orrin config show-configuration
60
+ ```
61
+
62
+ This will print the stored Developer API key. As the Orrin CLI matures, this command will likely display additional developer metadata.
63
+
64
+ ## Subcommands for `ui`
65
+
66
+ | Command | Purpose |
67
+ | :--- | :--- |
68
+ | `generate-zip` | Runs at the root of the Next.js codebase. It builds the project, exports static contents, and zips them for upload. |
69
+ | `upload` | Sends the generated ZIP file to the server, adding it to the "STAGING" queue to await review. |
70
+
71
+ ### Generating ZIP File
72
+ To upload your UI for review and deployment, you must package the static contents of your codebase into a ZIP file.
73
+
74
+ From the root of your Next.js codebase, run:
75
+
76
+ ```bash
77
+ orrin ui generate-zip
78
+ ```
79
+
80
+ This performs a build and generates the required ZIP file.
81
+
82
+ **NOTE:** Ensure your `next.config.ts` contains the following configuration. Without this, the ZIP creation may fail:
83
+
84
+ ```tsx
85
+ import type { NextConfig } from 'next';
86
+
87
+ const nextConfig: NextConfig = {
88
+ output: 'export',
89
+ trailingSlash: true,
90
+ basePath: '/<your_app_name>/current',
91
+ reactStrictMode: true,
92
+ };
93
+
94
+ export default nextConfig;
95
+ ```
96
+
97
+ ### Uploading the UI
98
+ When you are ready, you can upload the UI to the server. This submits it to a "STAGING" queue, meaning it is awaiting review/approval.
99
+
100
+ Run the following command to upload:
101
+
102
+ ```bash
103
+ orrin ui upload --app <AppName>
104
+ ```
105
+
106
+ **Important Requirements:**
107
+ * **Backend First:** `<AppName>` must match the app name found in your backend configuration. An app is only created after the backend is submitted. If you attempt to submit the frontend before the backend, this command will fail with a "no app found" error.
108
+ * **App Linking:** Inherently, the UI code is not "attached" to an app. Passing `--app` allows the server to link the uploaded UI to the specific app record.
109
+
110
+ **The Review Process**
111
+ * **Overrides:** If you upload a new codebase using an existing app name, it will override the previous codebase and trigger a new review.
112
+ * **Updates:** A review is required for every upload before the UI can be hosted. If an app is already live and you submit an update, the old version persists until the new one is approved. Once approved, the new version takes over and the old version is cached.
@@ -1,3 +1,5 @@
1
+ LICENSE
2
+ README.md
1
3
  pyproject.toml
2
4
  orrin/__init__.py
3
5
  orrin/cli.py
@@ -1,6 +1,7 @@
1
1
  [project]
2
2
  name = "orrin-cli"
3
- version = "0.1.4"
3
+ readme = "README.md"
4
+ version = "0.1.5"
4
5
  description = "Orrin CLI"
5
6
  requires-python = ">=3.9"
6
7
  dependencies = [
orrin_cli-0.1.4/PKG-INFO DELETED
@@ -1,8 +0,0 @@
1
- Metadata-Version: 2.4
2
- Name: orrin-cli
3
- Version: 0.1.4
4
- Summary: Orrin CLI
5
- Requires-Python: >=3.9
6
- Requires-Dist: typer
7
- Requires-Dist: requests
8
- Requires-Dist: platformdirs
@@ -1,8 +0,0 @@
1
- Metadata-Version: 2.4
2
- Name: orrin-cli
3
- Version: 0.1.4
4
- Summary: Orrin CLI
5
- Requires-Python: >=3.9
6
- Requires-Dist: typer
7
- Requires-Dist: requests
8
- Requires-Dist: platformdirs
File without changes
File without changes
File without changes