mirror of
https://github.com/getcompanion-ai/co-mono.git
synced 2026-04-20 06:04:15 +00:00
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:
parent
65b72cc514
commit
6d60302646
4 changed files with 6 additions and 6 deletions
|
|
@ -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",
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue