@@ -2,6 +2,10 @@
|
|||||||
|
|
||||||
## [Unreleased]
|
## [Unreleased]
|
||||||
|
|
||||||
|
### Fixed
|
||||||
|
|
||||||
|
- Fixed extension flag docs to show `pi.getFlag()` using registered flag names without the CLI `--` prefix ([#3614](https://github.com/badlogic/pi-mono/issues/3614))
|
||||||
|
|
||||||
## [0.70.0] - 2026-04-23
|
## [0.70.0] - 2026-04-23
|
||||||
|
|
||||||
### New Features
|
### New Features
|
||||||
|
|||||||
@@ -1432,7 +1432,7 @@ pi.registerFlag("plan", {
|
|||||||
});
|
});
|
||||||
|
|
||||||
// Check value
|
// Check value
|
||||||
if (pi.getFlag("--plan")) {
|
if (pi.getFlag("plan")) {
|
||||||
// Plan mode enabled
|
// Plan mode enabled
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|||||||
Reference in New Issue
Block a user