@lo1/cli 0.2.0 → 0.2.2
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/README.md +9 -9
- package/package.json +7 -2
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# @lo1/cli
|
|
2
2
|
|
|
3
|
-
CLI for [lo1](../../README.md)
|
|
3
|
+
CLI for [lo1](../../README.md) - multi-service local development environment.
|
|
4
4
|
|
|
5
5
|
## Installation
|
|
6
6
|
|
|
@@ -13,14 +13,14 @@ pnpm add -g @lo1/cli # pnpm
|
|
|
13
13
|
|
|
14
14
|
## Commands
|
|
15
15
|
|
|
16
|
-
| Command
|
|
17
|
-
|
|
18
|
-
| `lo1 init`
|
|
19
|
-
| `lo1 up`
|
|
20
|
-
| `lo1 down`
|
|
21
|
-
| `lo1 status`
|
|
22
|
-
| `lo1 hosts`
|
|
23
|
-
| `lo1 tls-setup` | Generate locally-trusted TLS certificates via mkcert
|
|
16
|
+
| Command | Description |
|
|
17
|
+
| --------------- | --------------------------------------------------------------- |
|
|
18
|
+
| `lo1 init` | Initialize workspace — clone repositories defined in `lo1.yaml` |
|
|
19
|
+
| `lo1 up` | Start all services and infrastructure |
|
|
20
|
+
| `lo1 down` | Stop all services and infrastructure |
|
|
21
|
+
| `lo1 status` | Show status of all services |
|
|
22
|
+
| `lo1 hosts` | Manage `/etc/hosts` entries for local domains |
|
|
23
|
+
| `lo1 tls-setup` | Generate locally-trusted TLS certificates via mkcert |
|
|
24
24
|
|
|
25
25
|
## Usage
|
|
26
26
|
|
package/package.json
CHANGED
|
@@ -1,7 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lo1/cli",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.2",
|
|
4
4
|
"description": "lo1 — Multi-service local dev environment",
|
|
5
|
+
"repository": {
|
|
6
|
+
"type": "git",
|
|
7
|
+
"url": "https://github.com/newstack-cloud/lo1",
|
|
8
|
+
"directory": "packages/cli"
|
|
9
|
+
},
|
|
5
10
|
"type": "module",
|
|
6
11
|
"bin": {
|
|
7
12
|
"lo1": "./dist/lo1.js"
|
|
@@ -18,7 +23,7 @@
|
|
|
18
23
|
"test": "bun test"
|
|
19
24
|
},
|
|
20
25
|
"dependencies": {
|
|
21
|
-
"@lo1/sdk": "
|
|
26
|
+
"@lo1/sdk": "workspace:*",
|
|
22
27
|
"commander": "^13.0.0",
|
|
23
28
|
"debug": "^4.4.3",
|
|
24
29
|
"js-yaml": "^4.1.0"
|