@seamapi/cli 0.29.0 → 0.31.0
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 +50 -7
- package/lib/version.d.ts +1 -1
- package/lib/version.js +1 -1
- package/package.json +3 -1
- package/src/lib/version.ts +1 -1
package/README.md
CHANGED
|
@@ -48,12 +48,40 @@ $ brew install seam
|
|
|
48
48
|
|
|
49
49
|
### Standalone binary
|
|
50
50
|
|
|
51
|
-
|
|
52
|
-
release]. The macOS binaries are signed with the Seam Labs, Inc. Apple
|
|
53
|
-
Developer ID and notarized by Apple, so macOS runs them without a Gatekeeper
|
|
54
|
-
prompt.
|
|
51
|
+
Install the latest release on Linux and macOS with
|
|
55
52
|
|
|
56
|
-
|
|
53
|
+
```
|
|
54
|
+
$ curl -fsSL https://raw.githubusercontent.com/seamapi/cli/main/install.sh | sh
|
|
55
|
+
```
|
|
56
|
+
|
|
57
|
+
or on Windows with
|
|
58
|
+
|
|
59
|
+
```
|
|
60
|
+
> iwr -useb https://raw.githubusercontent.com/seamapi/cli/main/install.ps1 | iex
|
|
61
|
+
```
|
|
62
|
+
|
|
63
|
+
The script downloads the binary for your platform, verifies its SHA-256
|
|
64
|
+
checksum against the release's `checksums.txt` before installing, and runs
|
|
65
|
+
`seam completion --install`. It installs to the first of `$SEAM_BIN_PATH`,
|
|
66
|
+
`$XDG_BIN_HOME`, `$XDG_DATA_HOME/../bin`, or `~/.local/bin`
|
|
67
|
+
(`%LOCALAPPDATA%\seam\bin` on Windows). If the install directory is not on
|
|
68
|
+
your `PATH`, the script adds it to your shell configuration, detecting bash,
|
|
69
|
+
fish, or zsh the same way as `seam completion --install`. Pass
|
|
70
|
+
`--version <tag>` to pin a version, `--bin-path <dir>` to choose the install
|
|
71
|
+
directory, and `--no-modify-path` or `--no-install-completion` to leave your
|
|
72
|
+
shell configuration untouched, e.g.
|
|
73
|
+
|
|
74
|
+
```
|
|
75
|
+
$ curl -fsSL https://raw.githubusercontent.com/seamapi/cli/main/install.sh \
|
|
76
|
+
| sh -s -- --version v0.29.0 --no-install-completion
|
|
77
|
+
```
|
|
78
|
+
|
|
79
|
+
Alternatively, download a standalone binary for your platform from the
|
|
80
|
+
[latest GitHub release]. The macOS binaries are signed with the Seam Labs,
|
|
81
|
+
Inc. Apple Developer ID and notarized by Apple, so macOS runs them without a
|
|
82
|
+
Gatekeeper prompt.
|
|
83
|
+
|
|
84
|
+
After a manual download, install the [shell completion] with
|
|
57
85
|
|
|
58
86
|
```
|
|
59
87
|
$ seam completion --install
|
|
@@ -69,12 +97,27 @@ $ cd seam-bin
|
|
|
69
97
|
$ makepkg -si
|
|
70
98
|
```
|
|
71
99
|
|
|
72
|
-
|
|
73
|
-
|
|
100
|
+
### Nix
|
|
101
|
+
|
|
102
|
+
Run the CLI without installing it with [Nix] with
|
|
103
|
+
|
|
104
|
+
```
|
|
105
|
+
$ nix run github:seamapi/cli
|
|
106
|
+
```
|
|
107
|
+
|
|
108
|
+
Install it into your profile with
|
|
109
|
+
|
|
110
|
+
```
|
|
111
|
+
$ nix profile install github:seamapi/cli
|
|
112
|
+
```
|
|
113
|
+
|
|
114
|
+
The flake compiles the standalone binary from source for `x86_64-linux`,
|
|
115
|
+
`aarch64-linux`, and `aarch64-darwin`.
|
|
74
116
|
|
|
75
117
|
[aur]: https://aur.archlinux.org/packages/seam-bin
|
|
76
118
|
[Homebrew]: https://formulae.brew.sh/cask/seam
|
|
77
119
|
[latest GitHub release]: https://github.com/seamapi/cli/releases/latest
|
|
120
|
+
[Nix]: https://nixos.org/
|
|
78
121
|
[npm]: https://www.npmjs.com/
|
|
79
122
|
[Seam Wizard]: https://github.com/seamapi/wizard
|
|
80
123
|
[shell completion]: #shell-completion
|
package/lib/version.d.ts
CHANGED
package/lib/version.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@seamapi/cli",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.31.0",
|
|
4
4
|
"description": "A command-line interface (CLI) for interacting with the Seam API.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "index.js",
|
|
@@ -54,6 +54,8 @@
|
|
|
54
54
|
"build:ts": "tsc --project tsconfig.build.json",
|
|
55
55
|
"prebuild:ts": "del 'index.*' bin lib",
|
|
56
56
|
"postbuild:ts": "tsc-alias --project tsconfig.build.json",
|
|
57
|
+
"build:standalone": "bun build src/bin/cli.ts --compile --minify --outfile seam",
|
|
58
|
+
"prebuild:standalone": "npm run prepack",
|
|
57
59
|
"typecheck": "tsc",
|
|
58
60
|
"test": "vitest run --coverage",
|
|
59
61
|
"pretest": "tsx src/index.ts",
|
package/src/lib/version.ts
CHANGED