Compare commits
3 Commits
649796b078
...
7b014d0203
| Author | SHA1 | Date | |
|---|---|---|---|
| 7b014d0203 | |||
| f128053183 | |||
| b9f3d7f6e8 |
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "@because/shout",
|
"name": "@because/shout",
|
||||||
"version": "0.0.6",
|
"version": "0.0.7",
|
||||||
"description": "shell output tester",
|
"description": "shell output tester",
|
||||||
"module": "src/index.ts",
|
"module": "src/index.ts",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
|
|
|
||||||
|
|
@ -264,4 +264,16 @@ $ true
|
||||||
[0]`)
|
[0]`)
|
||||||
})
|
})
|
||||||
|
|
||||||
|
program
|
||||||
|
.command("upgrade")
|
||||||
|
.description("Upgrade to the latest version")
|
||||||
|
.action(async () => {
|
||||||
|
const result = await Bun.spawn(["bun", "install", "-g", "@because/shout@latest"], {
|
||||||
|
stdin: "inherit",
|
||||||
|
stdout: "inherit",
|
||||||
|
stderr: "inherit",
|
||||||
|
}).exited
|
||||||
|
process.exit(result)
|
||||||
|
})
|
||||||
|
|
||||||
program.parse()
|
program.parse()
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user