Clatter LabsHelp Center

Line CLI says a command was declined. Why?

TroubleshootingUpdated

In print mode (line -p)#

Nobody can approve, so actions that would ask are declined: "declined …: run with --yes (or --allowed-tools) to allow it in print mode". Allow what's needed with --allowed-tools "bash(npm test*)" or --permission-mode accept-edits.

Interactively#

  • A deny rule in your settings or the project's .line/settings.json blocks it.
  • You (or a sub-agent approval) answered no.
  • sandbox: on on Windows refuses shell commands, because there's no Windows sandbox yet.

Related articles

Still need help?

Tried the steps above and still stuck? Email us. We usually reply within the first hour, and always within 24 hours. A full support team is with you.

Infrastructure questions, or permanent deletion of your data
infrastructure@clatterlabs.xyz
For deleting your whole account or the data of one service.