@seamapi/cli 0.28.0 → 0.30.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 +71 -5
- package/lib/version.d.ts +2 -2
- package/lib/version.js +2 -2
- package/package.json +3 -3
- package/src/lib/version.ts +2 -2
package/README.md
CHANGED
|
@@ -15,27 +15,93 @@ prompted for, with suggestions pulled from your workspace. Pass
|
|
|
15
15
|
|
|
16
16
|
## Installation
|
|
17
17
|
|
|
18
|
+
If you use Zsh, the completions only work if you enable compinit in your .zshrc with
|
|
19
|
+
|
|
20
|
+
```sh
|
|
21
|
+
autoload -Uz compinit
|
|
22
|
+
compinit
|
|
23
|
+
```
|
|
24
|
+
|
|
25
|
+
### npm
|
|
26
|
+
|
|
18
27
|
Install the CLI globally using [npm] with
|
|
19
28
|
|
|
20
29
|
```
|
|
21
30
|
$ npm install --global @seamapi/cli
|
|
31
|
+
$ seam completion --install
|
|
32
|
+
```
|
|
33
|
+
|
|
34
|
+
### Homebrew
|
|
35
|
+
|
|
36
|
+
Install the CLI from [Homebrew] with
|
|
37
|
+
|
|
38
|
+
```
|
|
39
|
+
$ brew install --cask seamapi/tap/seam-cli
|
|
40
|
+
```
|
|
41
|
+
|
|
42
|
+
The Seam CLI may also be installed from Homebrew Core,
|
|
43
|
+
but it does not include the Seam Wizard.
|
|
44
|
+
|
|
45
|
+
```
|
|
46
|
+
$ brew install seam
|
|
47
|
+
```
|
|
48
|
+
|
|
49
|
+
### Standalone binary
|
|
50
|
+
|
|
51
|
+
Install the latest release on Linux and macOS with
|
|
52
|
+
|
|
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
|
|
22
77
|
```
|
|
23
78
|
|
|
24
79
|
Alternatively, download a standalone binary for your platform from the
|
|
25
|
-
[latest GitHub release]. The macOS binaries are signed with the Seam Labs,
|
|
26
|
-
Apple Developer ID and notarized by Apple, so macOS runs them without
|
|
27
|
-
|
|
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 completions with
|
|
85
|
+
|
|
86
|
+
```
|
|
87
|
+
$ seam completion --install
|
|
88
|
+
```
|
|
89
|
+
|
|
90
|
+
### Arch Linux
|
|
28
91
|
|
|
29
|
-
|
|
92
|
+
Install the [`seam-bin`][aur] package from the AUR with
|
|
30
93
|
|
|
31
94
|
```
|
|
32
|
-
$
|
|
95
|
+
$ git clone https://aur.archlinux.org/seam-bin.git
|
|
96
|
+
$ cd seam-bin
|
|
97
|
+
$ makepkg -si
|
|
33
98
|
```
|
|
34
99
|
|
|
35
100
|
The AUR and Homebrew packages install [shell completion] themselves. After an
|
|
36
101
|
npm or manual install, run `seam completion --install`.
|
|
37
102
|
|
|
38
103
|
[aur]: https://aur.archlinux.org/packages/seam-bin
|
|
104
|
+
[Homebrew]: https://formulae.brew.sh/cask/seam
|
|
39
105
|
[latest GitHub release]: https://github.com/seamapi/cli/releases/latest
|
|
40
106
|
[npm]: https://www.npmjs.com/
|
|
41
107
|
[Seam Wizard]: https://github.com/seamapi/wizard
|
package/lib/version.d.ts
CHANGED
package/lib/version.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// Versions are replaced with generated values when the package is packed.
|
|
2
|
-
const seamapiCliVersion = '0.
|
|
3
|
-
const seamapiBlueprintVersion = '1.
|
|
2
|
+
const seamapiCliVersion = '0.30.0';
|
|
3
|
+
const seamapiBlueprintVersion = '1.8.0';
|
|
4
4
|
export { seamapiBlueprintVersion };
|
|
5
5
|
export default seamapiCliVersion;
|
|
6
6
|
//# sourceMappingURL=version.js.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@seamapi/cli",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.30.0",
|
|
4
4
|
"description": "A command-line interface (CLI) for interacting with the Seam API.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "index.js",
|
|
@@ -91,8 +91,8 @@
|
|
|
91
91
|
},
|
|
92
92
|
"dependencies": {
|
|
93
93
|
"@clack/prompts": "^1.7.0",
|
|
94
|
-
"@seamapi/blueprint": "1.
|
|
95
|
-
"@seamapi/http": "2.
|
|
94
|
+
"@seamapi/blueprint": "1.8.0",
|
|
95
|
+
"@seamapi/http": "^2.16.0",
|
|
96
96
|
"chalk": "^6.0.0",
|
|
97
97
|
"command-line-usage": "^7.0.4",
|
|
98
98
|
"configstore": "^8.0.0",
|
package/src/lib/version.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// Versions are replaced with generated values when the package is packed.
|
|
2
|
-
const seamapiCliVersion = '0.
|
|
3
|
-
const seamapiBlueprintVersion = '1.
|
|
2
|
+
const seamapiCliVersion = '0.30.0'
|
|
3
|
+
const seamapiBlueprintVersion = '1.8.0'
|
|
4
4
|
|
|
5
5
|
export { seamapiBlueprintVersion }
|
|
6
6
|
export default seamapiCliVersion
|