fix(coding-agent): remove -- from registerFlag calls
This was causing the agent sometimes to pick up on the incorrect syntax when asked to write extensions with flags
This commit is contained in:
@@ -1041,7 +1041,7 @@ Register custom CLI flags (parsed automatically, shown in `--help`):
|
||||
|
||||
```typescript
|
||||
export default function (pi: ExtensionAPI) {
|
||||
pi.registerFlag("--dry-run", {
|
||||
pi.registerFlag("dry-run", {
|
||||
description: "Run without making changes",
|
||||
type: "boolean",
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user