levelrail-cli 0.9.2 → 0.9.5
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 +41 -2
- package/bin/levelrail-cli.js +4 -1
- package/package.json +12 -10
package/README.md
CHANGED
|
@@ -1,10 +1,22 @@
|
|
|
1
1
|
# levelrail-cli
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
[](https://www.npmjs.com/package/levelrail-cli)
|
|
4
|
+
[](https://www.npmjs.com/package/levelrail-cli)
|
|
5
|
+
[](https://github.com/glincker/levelrail/blob/main/LICENSE)
|
|
6
|
+
[](https://scorecard.dev/viewer/?uri=github.com/glincker/levelrail)
|
|
7
|
+
[](https://github.com/glincker/levelrail)
|
|
8
|
+
|
|
9
|
+
The Levelrail self-hosted deployment platform CLI. It is the command line client for [Levelrail](https://levelrail.com), a self-hosted PaaS: deploy, roll back and inspect apps on your own servers from your terminal.
|
|
10
|
+
|
|
11
|
+
This package installs the CLI client only. It never installs or starts the Levelrail server; to run the platform itself, follow the [install guide](https://docs.levelrail.com/installing).
|
|
12
|
+
|
|
13
|
+
## Quickstart
|
|
4
14
|
|
|
5
15
|
```
|
|
6
16
|
npx levelrail-cli help
|
|
7
17
|
npm install --global levelrail-cli
|
|
18
|
+
yarn dlx levelrail-cli help
|
|
19
|
+
pnpm dlx levelrail-cli help
|
|
8
20
|
```
|
|
9
21
|
|
|
10
22
|
Point it at your instance and log in:
|
|
@@ -14,6 +26,33 @@ export APP_API_URL=https://your-dashboard-domain
|
|
|
14
26
|
levelrail-cli auth login --device
|
|
15
27
|
```
|
|
16
28
|
|
|
17
|
-
|
|
29
|
+
## Commands
|
|
30
|
+
|
|
31
|
+
`levelrail-cli help` lists the everyday verbs and `levelrail-cli help advanced` lists the rest:
|
|
32
|
+
|
|
33
|
+
- `login`, `status`, `open`: sign in, check the instance, print an app's URLs
|
|
34
|
+
- `up`, `deploy`, `rollback`: ship a directory or an image, go back one deploy
|
|
35
|
+
- `logs`, `env`, `domains`: inspect and configure an app
|
|
36
|
+
- `db`, `backup`, `restore`: databases and their backups
|
|
37
|
+
- `apps`: everything else about apps
|
|
38
|
+
|
|
39
|
+
Full reference: [CLI reference](https://docs.levelrail.com/cli-reference).
|
|
40
|
+
|
|
41
|
+
## Verify what you install
|
|
42
|
+
|
|
43
|
+
The package installs a prebuilt binary for your platform (Linux, macOS or Windows, x64 or arm64) through optional dependencies. It has no install scripts. Published with npm provenance from GitHub Actions, so you can check where it was built:
|
|
44
|
+
|
|
45
|
+
```
|
|
46
|
+
npm audit signatures
|
|
47
|
+
```
|
|
48
|
+
|
|
49
|
+
Release binaries are also checksummed and signed; see [Installing](https://docs.levelrail.com/installing).
|
|
50
|
+
|
|
51
|
+
## Links
|
|
52
|
+
|
|
53
|
+
- Website: [levelrail.com](https://levelrail.com)
|
|
54
|
+
- Docs: [docs.levelrail.com](https://docs.levelrail.com)
|
|
55
|
+
- Source: [github.com/glincker/levelrail](https://github.com/glincker/levelrail)
|
|
56
|
+
- Issues: [github.com/glincker/levelrail/issues](https://github.com/glincker/levelrail/issues)
|
|
18
57
|
|
|
19
58
|
Apache 2.0.
|
package/bin/levelrail-cli.js
CHANGED
|
@@ -32,7 +32,10 @@ try {
|
|
|
32
32
|
process.exit(1);
|
|
33
33
|
}
|
|
34
34
|
|
|
35
|
-
const result = spawnSync(bin, process.argv.slice(2), {
|
|
35
|
+
const result = spawnSync(bin, process.argv.slice(2), {
|
|
36
|
+
stdio: "inherit",
|
|
37
|
+
env: { ...process.env, LEVELRAIL_CLI_INSTALL_METHOD: "npm" },
|
|
38
|
+
});
|
|
36
39
|
if (result.error) {
|
|
37
40
|
console.error(`levelrail-cli: ${result.error.message}`);
|
|
38
41
|
process.exit(1);
|
package/package.json
CHANGED
|
@@ -1,20 +1,22 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "levelrail-cli",
|
|
3
|
-
"version": "0.9.
|
|
3
|
+
"version": "0.9.5",
|
|
4
4
|
"description": "Command line client for Levelrail, a self-hosted deployment platform",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
|
-
"repository": { "type": "git", "url": "git+https://github.com/glincker/levelrail.git" },
|
|
6
|
+
"repository": { "type": "git", "url": "git+https://github.com/glincker/levelrail.git", "directory": "deploy/packaging/npm" },
|
|
7
7
|
"homepage": "https://levelrail.com",
|
|
8
|
-
"
|
|
9
|
-
"
|
|
8
|
+
"author": { "name": "Glincker", "url": "https://levelrail.com" },
|
|
9
|
+
"bugs": { "url": "https://github.com/glincker/levelrail/issues" },
|
|
10
|
+
"keywords": ["levelrail", "deploy", "paas", "self-hosted", "cli", "docker", "nextjs", "coolify-alternative", "vercel-alternative", "mcp", "devops"],
|
|
11
|
+
"publishConfig": { "access": "public", "provenance": true },
|
|
10
12
|
"bin": { "levelrail-cli": "bin/levelrail-cli.js" },
|
|
11
13
|
"files": ["bin", "README.md", "LICENSE"],
|
|
12
14
|
"optionalDependencies": {
|
|
13
|
-
"levelrail-cli-linux-amd64": "0.9.
|
|
14
|
-
"levelrail-cli-linux-arm64": "0.9.
|
|
15
|
-
"levelrail-cli-darwin-amd64": "0.9.
|
|
16
|
-
"levelrail-cli-darwin-arm64": "0.9.
|
|
17
|
-
"levelrail-cli-windows-amd64": "0.9.
|
|
18
|
-
"levelrail-cli-windows-arm64": "0.9.
|
|
15
|
+
"levelrail-cli-linux-amd64": "0.9.5",
|
|
16
|
+
"levelrail-cli-linux-arm64": "0.9.5",
|
|
17
|
+
"levelrail-cli-darwin-amd64": "0.9.5",
|
|
18
|
+
"levelrail-cli-darwin-arm64": "0.9.5",
|
|
19
|
+
"levelrail-cli-windows-amd64": "0.9.5",
|
|
20
|
+
"levelrail-cli-windows-arm64": "0.9.5"
|
|
19
21
|
}
|
|
20
22
|
}
|