slopcannon 0.1.8 → 0.1.9
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/dist/cli.js +0 -10
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -1994,7 +1994,6 @@ Usage:
|
|
|
1994
1994
|
slopcannon cleanup|clean Clean up merged/stale worktrees
|
|
1995
1995
|
slopcannon config Configure settings
|
|
1996
1996
|
slopcannon --path-file <path> Write worktree path to file (for shell function)
|
|
1997
|
-
slopcannon --launcher-file <path> Write selected launcher to file
|
|
1998
1997
|
slopcannon --help Show this help
|
|
1999
1998
|
|
|
2000
1999
|
What it does:
|
|
@@ -2011,8 +2010,6 @@ function parseArgs() {
|
|
|
2011
2010
|
result.version = true;
|
|
2012
2011
|
} else if (args[i] === "--path-file" && i + 1 < args.length) {
|
|
2013
2012
|
result.pathFile = args[++i];
|
|
2014
|
-
} else if (args[i] === "--launcher-file" && i + 1 < args.length) {
|
|
2015
|
-
result.launcherFile = args[++i];
|
|
2016
2013
|
} else if (args[i] === "config") {
|
|
2017
2014
|
result.config = true;
|
|
2018
2015
|
} else if (args[i] === "cleanup" || args[i] === "clean") {
|
|
@@ -2081,13 +2078,6 @@ Install one of them before running slopcannon.`);
|
|
|
2081
2078
|
if (args.pathFile) {
|
|
2082
2079
|
await Bun.write(args.pathFile, worktreePath);
|
|
2083
2080
|
}
|
|
2084
|
-
if (args.launcherFile) {
|
|
2085
|
-
await Bun.write(args.launcherFile, launcher + `
|
|
2086
|
-
`);
|
|
2087
|
-
}
|
|
2088
|
-
if (args.pathFile || args.launcherFile) {
|
|
2089
|
-
process.exit(0);
|
|
2090
|
-
}
|
|
2091
2081
|
const launchCommand = launcher === "codex" ? ["codex", "--yolo"] : ["claude", "--dangerously-skip-permissions"];
|
|
2092
2082
|
const proc = Bun.spawn(launchCommand, {
|
|
2093
2083
|
cwd: worktreePath,
|