apizit-cli 0.2.0b1__tar.gz → 0.2.0b2__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.
- {apizit_cli-0.2.0b1 → apizit_cli-0.2.0b2}/PKG-INFO +10 -3
- {apizit_cli-0.2.0b1 → apizit_cli-0.2.0b2}/README.md +9 -2
- {apizit_cli-0.2.0b1 → apizit_cli-0.2.0b2}/pyproject.toml +1 -1
- {apizit_cli-0.2.0b1 → apizit_cli-0.2.0b2}/src/apizit_cli/__init__.py +1 -1
- {apizit_cli-0.2.0b1 → apizit_cli-0.2.0b2}/src/apizit_cli/context.py +1 -2
- apizit_cli-0.2.0b2/src/apizit_cli/domains.py +8 -0
- {apizit_cli-0.2.0b1 → apizit_cli-0.2.0b2}/src/apizit_cli.egg-info/PKG-INFO +10 -3
- {apizit_cli-0.2.0b1 → apizit_cli-0.2.0b2}/src/apizit_cli.egg-info/SOURCES.txt +1 -0
- {apizit_cli-0.2.0b1 → apizit_cli-0.2.0b2}/setup.cfg +0 -0
- {apizit_cli-0.2.0b1 → apizit_cli-0.2.0b2}/src/apizit_cli/authentication.py +0 -0
- {apizit_cli-0.2.0b1 → apizit_cli-0.2.0b2}/src/apizit_cli/commands.py +0 -0
- {apizit_cli-0.2.0b1 → apizit_cli-0.2.0b2}/src/apizit_cli/configuration.py +0 -0
- {apizit_cli-0.2.0b1 → apizit_cli-0.2.0b2}/src/apizit_cli/credential_store.py +0 -0
- {apizit_cli-0.2.0b1 → apizit_cli-0.2.0b2}/src/apizit_cli/errors.py +0 -0
- {apizit_cli-0.2.0b1 → apizit_cli-0.2.0b2}/src/apizit_cli/http.py +0 -0
- {apizit_cli-0.2.0b1 → apizit_cli-0.2.0b2}/src/apizit_cli/main.py +0 -0
- {apizit_cli-0.2.0b1 → apizit_cli-0.2.0b2}/src/apizit_cli/operations.py +0 -0
- {apizit_cli-0.2.0b1 → apizit_cli-0.2.0b2}/src/apizit_cli/sources.py +0 -0
- {apizit_cli-0.2.0b1 → apizit_cli-0.2.0b2}/src/apizit_cli.egg-info/dependency_links.txt +0 -0
- {apizit_cli-0.2.0b1 → apizit_cli-0.2.0b2}/src/apizit_cli.egg-info/entry_points.txt +0 -0
- {apizit_cli-0.2.0b1 → apizit_cli-0.2.0b2}/src/apizit_cli.egg-info/requires.txt +0 -0
- {apizit_cli-0.2.0b1 → apizit_cli-0.2.0b2}/src/apizit_cli.egg-info/top_level.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: apizit-cli
|
|
3
|
-
Version: 0.2.
|
|
3
|
+
Version: 0.2.0b2
|
|
4
4
|
Summary: Launch Python APIs with APIZIT from your terminal or CI.
|
|
5
5
|
Author: APIZIT
|
|
6
6
|
Classifier: Development Status :: 4 - Beta
|
|
@@ -18,9 +18,10 @@ Requires-Dist: pathspec<2,>=1
|
|
|
18
18
|
|
|
19
19
|
# APIZIT CLI
|
|
20
20
|
|
|
21
|
-
Launch Python
|
|
21
|
+
Launch supported Python, JavaScript, TypeScript or Java projects as managed public APIs, inspect logs and manage releases from your terminal.
|
|
22
22
|
|
|
23
|
-
APIZIT is an advanced
|
|
23
|
+
APIZIT is an advanced beta. This source version defaults to `https://api.apizit.com/v1`.
|
|
24
|
+
Version `0.2.0b1` uses its original dev default; use `--endpoint` explicitly with that version.
|
|
24
25
|
Check the official CLI documentation for package availability and current workspace capabilities.
|
|
25
26
|
|
|
26
27
|
Install with `pipx install --pip-args=--pre apizit-cli`
|
|
@@ -30,6 +31,12 @@ The client requires no AWS account, AWS credentials, Docker or APIZIT backend ch
|
|
|
30
31
|
Run `apizit --help` and `apizit docs` for the command reference.
|
|
31
32
|
The package contains the HTTP client and shared configuration contracts only.
|
|
32
33
|
|
|
34
|
+
Use `apizit --endpoint https://api-test.apizit.com/v1 login` to access the test installation.
|
|
35
|
+
Keep that explicit endpoint on subsequent test commands, or set `APIZIT_API_URL` for the terminal
|
|
36
|
+
or CI job. Accounts, saved workspaces and sessions are separate for each endpoint. Sign in again
|
|
37
|
+
when choosing a new address; the CLI never copies an existing session to it. A project already
|
|
38
|
+
linked to another endpoint requires that original explicit endpoint.
|
|
39
|
+
|
|
33
40
|
```sh
|
|
34
41
|
apizit login
|
|
35
42
|
apizit workspace list
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
# APIZIT CLI
|
|
2
2
|
|
|
3
|
-
Launch Python
|
|
3
|
+
Launch supported Python, JavaScript, TypeScript or Java projects as managed public APIs, inspect logs and manage releases from your terminal.
|
|
4
4
|
|
|
5
|
-
APIZIT is an advanced
|
|
5
|
+
APIZIT is an advanced beta. This source version defaults to `https://api.apizit.com/v1`.
|
|
6
|
+
Version `0.2.0b1` uses its original dev default; use `--endpoint` explicitly with that version.
|
|
6
7
|
Check the official CLI documentation for package availability and current workspace capabilities.
|
|
7
8
|
|
|
8
9
|
Install with `pipx install --pip-args=--pre apizit-cli`
|
|
@@ -12,6 +13,12 @@ The client requires no AWS account, AWS credentials, Docker or APIZIT backend ch
|
|
|
12
13
|
Run `apizit --help` and `apizit docs` for the command reference.
|
|
13
14
|
The package contains the HTTP client and shared configuration contracts only.
|
|
14
15
|
|
|
16
|
+
Use `apizit --endpoint https://api-test.apizit.com/v1 login` to access the test installation.
|
|
17
|
+
Keep that explicit endpoint on subsequent test commands, or set `APIZIT_API_URL` for the terminal
|
|
18
|
+
or CI job. Accounts, saved workspaces and sessions are separate for each endpoint. Sign in again
|
|
19
|
+
when choosing a new address; the CLI never copies an existing session to it. A project already
|
|
20
|
+
linked to another endpoint requires that original explicit endpoint.
|
|
21
|
+
|
|
15
22
|
```sh
|
|
16
23
|
apizit login
|
|
17
24
|
apizit workspace list
|
|
@@ -9,8 +9,7 @@ from pathlib import Path
|
|
|
9
9
|
from urllib.parse import urlsplit
|
|
10
10
|
|
|
11
11
|
from apizit_cli.errors import CliError, EXIT_USAGE
|
|
12
|
-
|
|
13
|
-
DEFAULT_API_ORIGIN = "https://jxo6vbfwy0.execute-api.eu-central-1.amazonaws.com/v1"
|
|
12
|
+
from apizit_cli.domains import DEFAULT_API_ORIGIN
|
|
14
13
|
|
|
15
14
|
|
|
16
15
|
def normalize_origin(value: str) -> str:
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
"""Generated by infra/scripts/export_platform_domains.py --cli; do not edit."""
|
|
2
|
+
|
|
3
|
+
DEFAULT_ENVIRONMENT = "beta"
|
|
4
|
+
API_ORIGINS = {
|
|
5
|
+
"dev": "https://api-test.apizit.com/v1",
|
|
6
|
+
"beta": "https://api.apizit.com/v1",
|
|
7
|
+
}
|
|
8
|
+
DEFAULT_API_ORIGIN = API_ORIGINS[DEFAULT_ENVIRONMENT]
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: apizit-cli
|
|
3
|
-
Version: 0.2.
|
|
3
|
+
Version: 0.2.0b2
|
|
4
4
|
Summary: Launch Python APIs with APIZIT from your terminal or CI.
|
|
5
5
|
Author: APIZIT
|
|
6
6
|
Classifier: Development Status :: 4 - Beta
|
|
@@ -18,9 +18,10 @@ Requires-Dist: pathspec<2,>=1
|
|
|
18
18
|
|
|
19
19
|
# APIZIT CLI
|
|
20
20
|
|
|
21
|
-
Launch Python
|
|
21
|
+
Launch supported Python, JavaScript, TypeScript or Java projects as managed public APIs, inspect logs and manage releases from your terminal.
|
|
22
22
|
|
|
23
|
-
APIZIT is an advanced
|
|
23
|
+
APIZIT is an advanced beta. This source version defaults to `https://api.apizit.com/v1`.
|
|
24
|
+
Version `0.2.0b1` uses its original dev default; use `--endpoint` explicitly with that version.
|
|
24
25
|
Check the official CLI documentation for package availability and current workspace capabilities.
|
|
25
26
|
|
|
26
27
|
Install with `pipx install --pip-args=--pre apizit-cli`
|
|
@@ -30,6 +31,12 @@ The client requires no AWS account, AWS credentials, Docker or APIZIT backend ch
|
|
|
30
31
|
Run `apizit --help` and `apizit docs` for the command reference.
|
|
31
32
|
The package contains the HTTP client and shared configuration contracts only.
|
|
32
33
|
|
|
34
|
+
Use `apizit --endpoint https://api-test.apizit.com/v1 login` to access the test installation.
|
|
35
|
+
Keep that explicit endpoint on subsequent test commands, or set `APIZIT_API_URL` for the terminal
|
|
36
|
+
or CI job. Accounts, saved workspaces and sessions are separate for each endpoint. Sign in again
|
|
37
|
+
when choosing a new address; the CLI never copies an existing session to it. A project already
|
|
38
|
+
linked to another endpoint requires that original explicit endpoint.
|
|
39
|
+
|
|
33
40
|
```sh
|
|
34
41
|
apizit login
|
|
35
42
|
apizit workspace list
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|