@enlitt/cli 0.0.0-stage → 0.1.1
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.
- package/CHANGELOG.md +17 -0
- package/LICENSE +21 -0
- package/README.md +36 -2
- package/dist/bin.js +5477 -0
- package/package.json +40 -3
package/CHANGELOG.md
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
# Changelog
|
|
2
|
+
|
|
3
|
+
## 0.1.1
|
|
4
|
+
|
|
5
|
+
- `enlitt app premium [<id>] (--on | --off) [--confirm]` turns an application's premium credit on or
|
|
6
|
+
off (`--off` on a live application needs `--confirm`); `app show` prints `premium_enabled`; a
|
|
7
|
+
`premium_not_enabled` refusal prints its next step.
|
|
8
|
+
|
|
9
|
+
- `setup` detects the project's language from its root (`package.json` → Node,
|
|
10
|
+
`pyproject.toml` or `requirements.txt` → Python, `*.csproj` or `*.sln` → .NET) and uses it to
|
|
11
|
+
pick the default env file (`.env.local` for Node, `.env` otherwise) and the docs page it points to.
|
|
12
|
+
An explicit `--env-file` or a linked project still wins.
|
|
13
|
+
|
|
14
|
+
## 0.1.0
|
|
15
|
+
|
|
16
|
+
- First public release: device-flow sign-in and step-up approval, business and traffic reads,
|
|
17
|
+
application and API key management, environment-file wiring, and `doctor` integration checks.
|
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 Enlitt
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/README.md
CHANGED
|
@@ -1,3 +1,37 @@
|
|
|
1
|
-
#
|
|
1
|
+
# `@enlitt/cli`
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
The terminal client for an Enlitt business account. It signs in to a business,
|
|
4
|
+
reads business and traffic facts, manages applications and API keys, writes a
|
|
5
|
+
project's environment file, and diagnoses an integration. It is built to be
|
|
6
|
+
driven by a coding agent: the agent never sees a password or a raw key unless
|
|
7
|
+
you ask for one.
|
|
8
|
+
|
|
9
|
+
## Install
|
|
10
|
+
|
|
11
|
+
```bash
|
|
12
|
+
npm i -D @enlitt/cli
|
|
13
|
+
npx enlitt --help
|
|
14
|
+
```
|
|
15
|
+
|
|
16
|
+
The CLI needs Node.js 22 or later and has no runtime dependencies.
|
|
17
|
+
|
|
18
|
+
## Sign in
|
|
19
|
+
|
|
20
|
+
```bash
|
|
21
|
+
npx enlitt login
|
|
22
|
+
```
|
|
23
|
+
|
|
24
|
+
The CLI prints a URL and a short code and opens your browser. Check that the
|
|
25
|
+
code matches, then approve while signed in to your business account.
|
|
26
|
+
|
|
27
|
+
Every command takes `--json` for one machine-readable document on stdout, and
|
|
28
|
+
`--env staging` to work against the staging deployment.
|
|
29
|
+
|
|
30
|
+
## Documentation
|
|
31
|
+
|
|
32
|
+
The full command reference, roles, and common tasks are at
|
|
33
|
+
https://enlitt.com/docs/cli.
|
|
34
|
+
|
|
35
|
+
## License
|
|
36
|
+
|
|
37
|
+
MIT
|