elva-cli 0.0.2__tar.gz → 0.0.3__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.
- elva_cli-0.0.3/PKG-INFO +95 -0
- elva_cli-0.0.3/README.md +70 -0
- {elva_cli-0.0.2 → elva_cli-0.0.3}/src/elva_cli/_version.py +2 -2
- elva_cli-0.0.2/PKG-INFO +0 -131
- elva_cli-0.0.2/README.md +0 -106
- {elva_cli-0.0.2 → elva_cli-0.0.3}/.gitignore +0 -0
- {elva_cli-0.0.2 → elva_cli-0.0.3}/pyproject.toml +0 -0
- {elva_cli-0.0.2 → elva_cli-0.0.3}/src/elva_cli/__init__.py +0 -0
- {elva_cli-0.0.2 → elva_cli-0.0.3}/src/elva_cli/__main__.py +0 -0
- {elva_cli-0.0.2 → elva_cli-0.0.3}/src/elva_cli/auth/__init__.py +0 -0
- {elva_cli-0.0.2 → elva_cli-0.0.3}/src/elva_cli/commands/__init__.py +0 -0
- {elva_cli-0.0.2 → elva_cli-0.0.3}/src/elva_cli/context.py +0 -0
- {elva_cli-0.0.2 → elva_cli-0.0.3}/src/elva_cli/core/__init__.py +0 -0
- {elva_cli-0.0.2 → elva_cli-0.0.3}/src/elva_cli/core/api/__init__.py +0 -0
- {elva_cli-0.0.2 → elva_cli-0.0.3}/src/elva_cli/core/services/__init__.py +0 -0
- {elva_cli-0.0.2 → elva_cli-0.0.3}/src/elva_cli/core/spec/__init__.py +0 -0
- {elva_cli-0.0.2 → elva_cli-0.0.3}/src/elva_cli/errors.py +0 -0
- {elva_cli-0.0.2 → elva_cli-0.0.3}/src/elva_cli/logging.py +0 -0
- {elva_cli-0.0.2 → elva_cli-0.0.3}/src/elva_cli/main.py +0 -0
- {elva_cli-0.0.2 → elva_cli-0.0.3}/src/elva_cli/registry.py +0 -0
- {elva_cli-0.0.2 → elva_cli-0.0.3}/src/elva_cli/settings/__init__.py +0 -0
- {elva_cli-0.0.2 → elva_cli-0.0.3}/src/elva_cli/telemetry.py +0 -0
- {elva_cli-0.0.2 → elva_cli-0.0.3}/src/elva_cli/ui/__init__.py +0 -0
- {elva_cli-0.0.2 → elva_cli-0.0.3}/src/elva_cli/ui/prompts.py +0 -0
- {elva_cli-0.0.2 → elva_cli-0.0.3}/src/elva_cli/ui/renderables/__init__.py +0 -0
- {elva_cli-0.0.2 → elva_cli-0.0.3}/src/elva_cli/ui/views/__init__.py +0 -0
- {elva_cli-0.0.2 → elva_cli-0.0.3}/src/elva_cli/update.py +0 -0
elva_cli-0.0.3/PKG-INFO
ADDED
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
Metadata-Version: 2.5
|
|
2
|
+
Name: elva-cli
|
|
3
|
+
Version: 0.0.3
|
|
4
|
+
Summary: Elva - CLI for Theneo Elva
|
|
5
|
+
Project-URL: Homepage, https://getelva.ai
|
|
6
|
+
Project-URL: Source, https://github.com/Theneo-Inc/theneo-elva-cli
|
|
7
|
+
Project-URL: Issues, https://github.com/Theneo-Inc/theneo-elva-cli/issues
|
|
8
|
+
Author-email: Theneo <support@theneo.io>
|
|
9
|
+
Keywords: api,cli,documentation,elva,openapi,theneo
|
|
10
|
+
Classifier: Development Status :: 3 - Alpha
|
|
11
|
+
Classifier: Environment :: Console
|
|
12
|
+
Classifier: Intended Audience :: Developers
|
|
13
|
+
Classifier: Programming Language :: Python :: 3.11
|
|
14
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
15
|
+
Classifier: Programming Language :: Python :: 3.13
|
|
16
|
+
Classifier: Topic :: Software Development :: Documentation
|
|
17
|
+
Classifier: Typing :: Typed
|
|
18
|
+
Requires-Python: >=3.11
|
|
19
|
+
Requires-Dist: typer<1.0,>=0.15
|
|
20
|
+
Provides-Extra: dev
|
|
21
|
+
Requires-Dist: mypy>=1.11; extra == 'dev'
|
|
22
|
+
Requires-Dist: pytest>=8.2; extra == 'dev'
|
|
23
|
+
Requires-Dist: ruff>=0.6; extra == 'dev'
|
|
24
|
+
Description-Content-Type: text/markdown
|
|
25
|
+
|
|
26
|
+
# Elva CLI
|
|
27
|
+
|
|
28
|
+
Manage your [Elva](https://getelva.ai) API projects from the terminal: import specs,
|
|
29
|
+
inspect collections, and generate MCP servers without opening a browser.
|
|
30
|
+
|
|
31
|
+
> **Early alpha.** The command surface is still taking shape. This release ships
|
|
32
|
+
> `--version` and `--help` only; the first working commands land in `0.1.0`.
|
|
33
|
+
|
|
34
|
+
## Install
|
|
35
|
+
|
|
36
|
+
Requires Python 3.11 or newer.
|
|
37
|
+
|
|
38
|
+
```bash
|
|
39
|
+
uv tool install elva-cli
|
|
40
|
+
```
|
|
41
|
+
|
|
42
|
+
Or with [pipx](https://pipx.pypa.io/), if you already use it:
|
|
43
|
+
|
|
44
|
+
```bash
|
|
45
|
+
pipx install elva-cli
|
|
46
|
+
```
|
|
47
|
+
|
|
48
|
+
Either way, `elva` is then available from any directory:
|
|
49
|
+
|
|
50
|
+
```bash
|
|
51
|
+
elva --version
|
|
52
|
+
elva --help
|
|
53
|
+
```
|
|
54
|
+
|
|
55
|
+
To try it without installing anything:
|
|
56
|
+
|
|
57
|
+
```bash
|
|
58
|
+
uvx --from elva-cli elva --version
|
|
59
|
+
```
|
|
60
|
+
|
|
61
|
+
Don't have `uv`? It is a single command and no prerequisites:
|
|
62
|
+
|
|
63
|
+
```bash
|
|
64
|
+
curl -fsSL https://astral.sh/uv/install.sh | sh # macOS, Linux
|
|
65
|
+
powershell -c "irm https://astral.sh/uv/install.ps1|iex" # Windows
|
|
66
|
+
```
|
|
67
|
+
|
|
68
|
+
### Upgrade
|
|
69
|
+
|
|
70
|
+
```bash
|
|
71
|
+
uv tool upgrade elva-cli # or: pipx upgrade elva-cli
|
|
72
|
+
```
|
|
73
|
+
|
|
74
|
+
### Why not `pip install`?
|
|
75
|
+
|
|
76
|
+
On Ubuntu, Debian, Fedora and Homebrew macOS, `pip install elva-cli` fails with
|
|
77
|
+
`externally-managed-environment`. Those systems reserve their Python for the OS package
|
|
78
|
+
manager ([PEP 668](https://peps.python.org/pep-0668/)), and `--user` is blocked too.
|
|
79
|
+
|
|
80
|
+
`uv tool` and `pipx` are the supported way to install a Python command-line application:
|
|
81
|
+
they give it a private environment and put just the `elva` command on your `PATH`, so it
|
|
82
|
+
can never conflict with your projects' dependencies.
|
|
83
|
+
|
|
84
|
+
Inside an already-activated virtualenv, `pip install elva-cli` works fine.
|
|
85
|
+
|
|
86
|
+
## Requirements
|
|
87
|
+
|
|
88
|
+
- Python 3.11 or newer (bundled automatically if you install via `uv tool`)
|
|
89
|
+
- An [Elva](https://getelva.ai) account
|
|
90
|
+
|
|
91
|
+
## Links
|
|
92
|
+
|
|
93
|
+
- [Elva](https://getelva.ai)
|
|
94
|
+
- [Issues](https://github.com/Theneo-Inc/theneo-elva-cli/issues)
|
|
95
|
+
- [Contributing](CONTRIBUTING.md)
|
elva_cli-0.0.3/README.md
ADDED
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
# Elva CLI
|
|
2
|
+
|
|
3
|
+
Manage your [Elva](https://getelva.ai) API projects from the terminal: import specs,
|
|
4
|
+
inspect collections, and generate MCP servers without opening a browser.
|
|
5
|
+
|
|
6
|
+
> **Early alpha.** The command surface is still taking shape. This release ships
|
|
7
|
+
> `--version` and `--help` only; the first working commands land in `0.1.0`.
|
|
8
|
+
|
|
9
|
+
## Install
|
|
10
|
+
|
|
11
|
+
Requires Python 3.11 or newer.
|
|
12
|
+
|
|
13
|
+
```bash
|
|
14
|
+
uv tool install elva-cli
|
|
15
|
+
```
|
|
16
|
+
|
|
17
|
+
Or with [pipx](https://pipx.pypa.io/), if you already use it:
|
|
18
|
+
|
|
19
|
+
```bash
|
|
20
|
+
pipx install elva-cli
|
|
21
|
+
```
|
|
22
|
+
|
|
23
|
+
Either way, `elva` is then available from any directory:
|
|
24
|
+
|
|
25
|
+
```bash
|
|
26
|
+
elva --version
|
|
27
|
+
elva --help
|
|
28
|
+
```
|
|
29
|
+
|
|
30
|
+
To try it without installing anything:
|
|
31
|
+
|
|
32
|
+
```bash
|
|
33
|
+
uvx --from elva-cli elva --version
|
|
34
|
+
```
|
|
35
|
+
|
|
36
|
+
Don't have `uv`? It is a single command and no prerequisites:
|
|
37
|
+
|
|
38
|
+
```bash
|
|
39
|
+
curl -fsSL https://astral.sh/uv/install.sh | sh # macOS, Linux
|
|
40
|
+
powershell -c "irm https://astral.sh/uv/install.ps1|iex" # Windows
|
|
41
|
+
```
|
|
42
|
+
|
|
43
|
+
### Upgrade
|
|
44
|
+
|
|
45
|
+
```bash
|
|
46
|
+
uv tool upgrade elva-cli # or: pipx upgrade elva-cli
|
|
47
|
+
```
|
|
48
|
+
|
|
49
|
+
### Why not `pip install`?
|
|
50
|
+
|
|
51
|
+
On Ubuntu, Debian, Fedora and Homebrew macOS, `pip install elva-cli` fails with
|
|
52
|
+
`externally-managed-environment`. Those systems reserve their Python for the OS package
|
|
53
|
+
manager ([PEP 668](https://peps.python.org/pep-0668/)), and `--user` is blocked too.
|
|
54
|
+
|
|
55
|
+
`uv tool` and `pipx` are the supported way to install a Python command-line application:
|
|
56
|
+
they give it a private environment and put just the `elva` command on your `PATH`, so it
|
|
57
|
+
can never conflict with your projects' dependencies.
|
|
58
|
+
|
|
59
|
+
Inside an already-activated virtualenv, `pip install elva-cli` works fine.
|
|
60
|
+
|
|
61
|
+
## Requirements
|
|
62
|
+
|
|
63
|
+
- Python 3.11 or newer (bundled automatically if you install via `uv tool`)
|
|
64
|
+
- An [Elva](https://getelva.ai) account
|
|
65
|
+
|
|
66
|
+
## Links
|
|
67
|
+
|
|
68
|
+
- [Elva](https://getelva.ai)
|
|
69
|
+
- [Issues](https://github.com/Theneo-Inc/theneo-elva-cli/issues)
|
|
70
|
+
- [Contributing](CONTRIBUTING.md)
|
|
@@ -18,7 +18,7 @@ version_tuple: tuple[int | str, ...]
|
|
|
18
18
|
commit_id: str | None
|
|
19
19
|
__commit_id__: str | None
|
|
20
20
|
|
|
21
|
-
__version__ = version = '0.0.
|
|
22
|
-
__version_tuple__ = version_tuple = (0, 0,
|
|
21
|
+
__version__ = version = '0.0.3'
|
|
22
|
+
__version_tuple__ = version_tuple = (0, 0, 3)
|
|
23
23
|
|
|
24
24
|
__commit_id__ = commit_id = None
|
elva_cli-0.0.2/PKG-INFO
DELETED
|
@@ -1,131 +0,0 @@
|
|
|
1
|
-
Metadata-Version: 2.5
|
|
2
|
-
Name: elva-cli
|
|
3
|
-
Version: 0.0.2
|
|
4
|
-
Summary: Elva - CLI for Theneo Elva
|
|
5
|
-
Project-URL: Homepage, https://getelva.ai
|
|
6
|
-
Project-URL: Source, https://github.com/Theneo-Inc/theneo-elva-cli
|
|
7
|
-
Project-URL: Issues, https://github.com/Theneo-Inc/theneo-elva-cli/issues
|
|
8
|
-
Author-email: Theneo <support@theneo.io>
|
|
9
|
-
Keywords: api,cli,documentation,elva,openapi,theneo
|
|
10
|
-
Classifier: Development Status :: 3 - Alpha
|
|
11
|
-
Classifier: Environment :: Console
|
|
12
|
-
Classifier: Intended Audience :: Developers
|
|
13
|
-
Classifier: Programming Language :: Python :: 3.11
|
|
14
|
-
Classifier: Programming Language :: Python :: 3.12
|
|
15
|
-
Classifier: Programming Language :: Python :: 3.13
|
|
16
|
-
Classifier: Topic :: Software Development :: Documentation
|
|
17
|
-
Classifier: Typing :: Typed
|
|
18
|
-
Requires-Python: >=3.11
|
|
19
|
-
Requires-Dist: typer<1.0,>=0.15
|
|
20
|
-
Provides-Extra: dev
|
|
21
|
-
Requires-Dist: mypy>=1.11; extra == 'dev'
|
|
22
|
-
Requires-Dist: pytest>=8.2; extra == 'dev'
|
|
23
|
-
Requires-Dist: ruff>=0.6; extra == 'dev'
|
|
24
|
-
Description-Content-Type: text/markdown
|
|
25
|
-
|
|
26
|
-
# Elva CLI
|
|
27
|
-
|
|
28
|
-
CLI for Theneo Editor
|
|
29
|
-
|
|
30
|
-
## Install
|
|
31
|
-
|
|
32
|
-
Requires Python 3.11 or newer. Pick one:
|
|
33
|
-
|
|
34
|
-
```bash
|
|
35
|
-
uv tool install elva-cli # recommended
|
|
36
|
-
pipx install elva-cli # equivalent, if you already use pipx
|
|
37
|
-
```
|
|
38
|
-
|
|
39
|
-
`elva` is then available from any directory, no virtualenv to activate:
|
|
40
|
-
|
|
41
|
-
```bash
|
|
42
|
-
elva --version
|
|
43
|
-
elva --help
|
|
44
|
-
```
|
|
45
|
-
|
|
46
|
-
To try it without installing anything:
|
|
47
|
-
|
|
48
|
-
```bash
|
|
49
|
-
uvx --from elva-cli elva --version
|
|
50
|
-
```
|
|
51
|
-
|
|
52
|
-
### Why not `pip install`?
|
|
53
|
-
|
|
54
|
-
`pip install elva-cli` into a system Python is blocked on Ubuntu, Debian, Fedora and
|
|
55
|
-
Homebrew macOS by [PEP 668](https://peps.python.org/pep-0668/), which reports
|
|
56
|
-
`externally-managed-environment`. `uv tool` and `pipx` sidestep it by installing into
|
|
57
|
-
an isolated environment for you and putting `elva` on your `PATH` -- which is what you
|
|
58
|
-
want for a command-line tool anyway. Inside an already-activated virtualenv, plain
|
|
59
|
-
`pip install elva-cli` works fine.
|
|
60
|
-
|
|
61
|
-
### Upgrade
|
|
62
|
-
|
|
63
|
-
```bash
|
|
64
|
-
uv tool upgrade elva-cli # or: pipx upgrade elva-cli
|
|
65
|
-
```
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
## Development
|
|
69
|
-
|
|
70
|
-
Requires Python 3.11 or newer.
|
|
71
|
-
|
|
72
|
-
```bash
|
|
73
|
-
git clone https://github.com/Theneo-Inc/theneo-elva-cli.git
|
|
74
|
-
cd theneo-elva-cli
|
|
75
|
-
|
|
76
|
-
python3 -m venv .venv
|
|
77
|
-
source .venv/bin/activate # Windows: .venv\Scripts\activate
|
|
78
|
-
pip install -e ".[dev]"
|
|
79
|
-
```
|
|
80
|
-
|
|
81
|
-
`-e` installs in editable mode, so your source edits take effect immediately with
|
|
82
|
-
no reinstall.
|
|
83
|
-
|
|
84
|
-
Run it:
|
|
85
|
-
|
|
86
|
-
```bash
|
|
87
|
-
elva --version
|
|
88
|
-
elva --help
|
|
89
|
-
```
|
|
90
|
-
|
|
91
|
-
```
|
|
92
|
-
$ elva --version
|
|
93
|
-
elva 0.0.1 (python 3.12.3, linux-x86_64)
|
|
94
|
-
```
|
|
95
|
-
|
|
96
|
-
`python -m elva_cli --version` runs the same entry point, if you prefer that form.
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
### With uv (faster)
|
|
100
|
-
|
|
101
|
-
If you have [uv](https://docs.astral.sh/uv/), it replaces the venv and pip steps:
|
|
102
|
-
|
|
103
|
-
```bash
|
|
104
|
-
uv sync --extra dev
|
|
105
|
-
uv run elva --version
|
|
106
|
-
```
|
|
107
|
-
|
|
108
|
-
#### Running `elva` from any directory (development)
|
|
109
|
-
|
|
110
|
-
To activate everywhere locally:
|
|
111
|
-
|
|
112
|
-
```bash
|
|
113
|
-
uv tool install --editable ~/Desktop/theneo-elva-cli
|
|
114
|
-
```
|
|
115
|
-
|
|
116
|
-
### Checks
|
|
117
|
-
|
|
118
|
-
```bash
|
|
119
|
-
ruff check . # lint
|
|
120
|
-
ruff format . # format
|
|
121
|
-
mypy # types, strict
|
|
122
|
-
```
|
|
123
|
-
|
|
124
|
-
### Version numbers
|
|
125
|
-
|
|
126
|
-
The version comes from the git tag via `hatch-vcs` -- there is nothing to bump by hand.
|
|
127
|
-
An untagged checkout reports something like `0.0.post1.dev2+gc657326`, which PyPI will
|
|
128
|
-
not accept; a tagged one reports a clean `0.0.1`.
|
|
129
|
-
|
|
130
|
-
To cut a release, see [RELEASING.md](RELEASING.md).
|
|
131
|
-
|
elva_cli-0.0.2/README.md
DELETED
|
@@ -1,106 +0,0 @@
|
|
|
1
|
-
# Elva CLI
|
|
2
|
-
|
|
3
|
-
CLI for Theneo Editor
|
|
4
|
-
|
|
5
|
-
## Install
|
|
6
|
-
|
|
7
|
-
Requires Python 3.11 or newer. Pick one:
|
|
8
|
-
|
|
9
|
-
```bash
|
|
10
|
-
uv tool install elva-cli # recommended
|
|
11
|
-
pipx install elva-cli # equivalent, if you already use pipx
|
|
12
|
-
```
|
|
13
|
-
|
|
14
|
-
`elva` is then available from any directory, no virtualenv to activate:
|
|
15
|
-
|
|
16
|
-
```bash
|
|
17
|
-
elva --version
|
|
18
|
-
elva --help
|
|
19
|
-
```
|
|
20
|
-
|
|
21
|
-
To try it without installing anything:
|
|
22
|
-
|
|
23
|
-
```bash
|
|
24
|
-
uvx --from elva-cli elva --version
|
|
25
|
-
```
|
|
26
|
-
|
|
27
|
-
### Why not `pip install`?
|
|
28
|
-
|
|
29
|
-
`pip install elva-cli` into a system Python is blocked on Ubuntu, Debian, Fedora and
|
|
30
|
-
Homebrew macOS by [PEP 668](https://peps.python.org/pep-0668/), which reports
|
|
31
|
-
`externally-managed-environment`. `uv tool` and `pipx` sidestep it by installing into
|
|
32
|
-
an isolated environment for you and putting `elva` on your `PATH` -- which is what you
|
|
33
|
-
want for a command-line tool anyway. Inside an already-activated virtualenv, plain
|
|
34
|
-
`pip install elva-cli` works fine.
|
|
35
|
-
|
|
36
|
-
### Upgrade
|
|
37
|
-
|
|
38
|
-
```bash
|
|
39
|
-
uv tool upgrade elva-cli # or: pipx upgrade elva-cli
|
|
40
|
-
```
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
## Development
|
|
44
|
-
|
|
45
|
-
Requires Python 3.11 or newer.
|
|
46
|
-
|
|
47
|
-
```bash
|
|
48
|
-
git clone https://github.com/Theneo-Inc/theneo-elva-cli.git
|
|
49
|
-
cd theneo-elva-cli
|
|
50
|
-
|
|
51
|
-
python3 -m venv .venv
|
|
52
|
-
source .venv/bin/activate # Windows: .venv\Scripts\activate
|
|
53
|
-
pip install -e ".[dev]"
|
|
54
|
-
```
|
|
55
|
-
|
|
56
|
-
`-e` installs in editable mode, so your source edits take effect immediately with
|
|
57
|
-
no reinstall.
|
|
58
|
-
|
|
59
|
-
Run it:
|
|
60
|
-
|
|
61
|
-
```bash
|
|
62
|
-
elva --version
|
|
63
|
-
elva --help
|
|
64
|
-
```
|
|
65
|
-
|
|
66
|
-
```
|
|
67
|
-
$ elva --version
|
|
68
|
-
elva 0.0.1 (python 3.12.3, linux-x86_64)
|
|
69
|
-
```
|
|
70
|
-
|
|
71
|
-
`python -m elva_cli --version` runs the same entry point, if you prefer that form.
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
### With uv (faster)
|
|
75
|
-
|
|
76
|
-
If you have [uv](https://docs.astral.sh/uv/), it replaces the venv and pip steps:
|
|
77
|
-
|
|
78
|
-
```bash
|
|
79
|
-
uv sync --extra dev
|
|
80
|
-
uv run elva --version
|
|
81
|
-
```
|
|
82
|
-
|
|
83
|
-
#### Running `elva` from any directory (development)
|
|
84
|
-
|
|
85
|
-
To activate everywhere locally:
|
|
86
|
-
|
|
87
|
-
```bash
|
|
88
|
-
uv tool install --editable ~/Desktop/theneo-elva-cli
|
|
89
|
-
```
|
|
90
|
-
|
|
91
|
-
### Checks
|
|
92
|
-
|
|
93
|
-
```bash
|
|
94
|
-
ruff check . # lint
|
|
95
|
-
ruff format . # format
|
|
96
|
-
mypy # types, strict
|
|
97
|
-
```
|
|
98
|
-
|
|
99
|
-
### Version numbers
|
|
100
|
-
|
|
101
|
-
The version comes from the git tag via `hatch-vcs` -- there is nothing to bump by hand.
|
|
102
|
-
An untagged checkout reports something like `0.0.post1.dev2+gc657326`, which PyPI will
|
|
103
|
-
not accept; a tagged one reports a clean `0.0.1`.
|
|
104
|
-
|
|
105
|
-
To cut a release, see [RELEASING.md](RELEASING.md).
|
|
106
|
-
|
|
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
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|