mirror of
https://github.com/getpaseo/paseo.git
synced 2026-10-28 12:12:47 +00:00
fix(cli): support mode when importing agents
This commit is contained in:
@@ -46,6 +46,11 @@ describe("canonical CLI surface", () => {
|
||||
expect(help).toContain("--forge <forge>");
|
||||
});
|
||||
|
||||
it("offers provider mode selection when importing an agent", () => {
|
||||
const importCommand = createCli().commands.find((command) => command.name() === "import");
|
||||
expect(importCommand?.helpInformation()).toContain("--mode <mode>");
|
||||
});
|
||||
|
||||
it("uses background for execution and reserves detach for ownership", () => {
|
||||
const run = createCli().commands.find((command) => command.name() === "run");
|
||||
expect(run?.helpInformation()).toContain("--background");
|
||||
|
||||
Reference in New Issue
Block a user