moshcode 0.64.0 → 0.65.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/package.json +1 -1
- package/src/tools.mjs +26 -0
package/package.json
CHANGED
package/src/tools.mjs
CHANGED
|
@@ -44,6 +44,32 @@ export const TOOLS = {
|
|
|
44
44
|
// The CLI updates itself in place from the same origin the installer uses.
|
|
45
45
|
upgrade: { cmd: "c0upons", args: ["upgrade"] },
|
|
46
46
|
},
|
|
47
|
+
"cli-tools": {
|
|
48
|
+
desc: "Profullstack cli-tools — blog publishing, domain availability, and GitHub PR sweeps",
|
|
49
|
+
// The odd shape here: this is a *set* of commands, not one binary. The
|
|
50
|
+
// installer symlinks blog-post, domainfree, domainjson, gh-prs,
|
|
51
|
+
// gh-prs-merge, gh-prs-fix-all and tcfeed into ~/.local/bin, and `cli-tools`
|
|
52
|
+
// is the dispatcher that fronts them. Probing the dispatcher is what makes
|
|
53
|
+
// "installed" mean "the whole set is installed" rather than "one of seven
|
|
54
|
+
// names happens to exist".
|
|
55
|
+
bin: "cli-tools",
|
|
56
|
+
install: {
|
|
57
|
+
cmd: "sh",
|
|
58
|
+
args: [
|
|
59
|
+
"-c",
|
|
60
|
+
"curl -fsSL https://raw.githubusercontent.com/profullstack/cli-tools/master/install.sh | sh",
|
|
61
|
+
],
|
|
62
|
+
},
|
|
63
|
+
// The installer symlinks into ~/.local/bin and appends nothing to PATH, so
|
|
64
|
+
// the shell that ran the install cannot see the commands — the same gap
|
|
65
|
+
// turso, gradient and kimi have.
|
|
66
|
+
binDirs: [path.join(homedir(), ".local", "bin")],
|
|
67
|
+
// Its own updater, which pulls and relinks. Deliberately not the installer:
|
|
68
|
+
// re-running that would re-clone for someone whose checkout lives
|
|
69
|
+
// elsewhere, and `cli-tools update` refuses to move a dirty or diverged
|
|
70
|
+
// tree rather than discarding work.
|
|
71
|
+
upgrade: { cmd: "cli-tools", args: ["update"] },
|
|
72
|
+
},
|
|
47
73
|
secrets: {
|
|
48
74
|
desc: "LogicSRC — end-to-end-encrypted team credential sharing (login, teams, credentials)",
|
|
49
75
|
// The passthrough target is the `logicsrc` binary; the moshcode command is
|