In src/commands/doc.js, the doc delete command imports inquirer but never uses it for confirmation:
const{Confirm}=awaitimport("inquirer");// For simplicity, just confirm
The --yes flag is defined but does nothing - the deletion proceeds immediately without user confirmation.
Impact
Users running simplenote doc delete <id> without --yes expect a confirmation prompt but none appears.
Suggested Fix
Either implement the confirmation prompt or remove the --yes flag and dead import.
## Bug Description
In `src/commands/doc.js`, the `doc delete` command imports `inquirer` but never uses it for confirmation:
```js
const { Confirm } = await import("inquirer");
// For simplicity, just confirm
```
The `--yes` flag is defined but does nothing - the deletion proceeds immediately without user confirmation.
## Impact
Users running `simplenote doc delete <id>` without `--yes` expect a confirmation prompt but none appears.
## Suggested Fix
Either implement the confirmation prompt or remove the `--yes` flag and dead import.
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Bug Description
In
src/commands/doc.js, thedoc deletecommand importsinquirerbut never uses it for confirmation:The
--yesflag is defined but does nothing - the deletion proceeds immediately without user confirmation.Impact
Users running
simplenote doc delete <id>without--yesexpect a confirmation prompt but none appears.Suggested Fix
Either implement the confirmation prompt or remove the
--yesflag and dead import.