ux(cli): remove --dangerously-skip-permissions (#10114)
This flag currently does nothing. Presumably, it was recently added by OpenCode upstream, but since Kilo already has the `--auto` flag, the code that would handle `--dangerously-skip-permissions` is wired into `--auto` instead. Removing this useless flag avoids confusion for users.
This commit is contained in:
@@ -295,12 +295,7 @@ export const RunCommand = cmd({
|
||||
describe: "auto-approve all permissions (for autonomous/pipeline usage)",
|
||||
default: false,
|
||||
})
|
||||
// kilocode_change end
|
||||
.option("dangerously-skip-permissions", {
|
||||
type: "boolean",
|
||||
describe: "auto-approve permissions that are not explicitly denied (dangerous!)",
|
||||
default: false,
|
||||
})
|
||||
// kilocode_change end
|
||||
)
|
||||
},
|
||||
handler: async (args) => {
|
||||
|
||||
Reference in New Issue
Block a user