How do I stop Line CLI from editing certain files?
Add a deny rule. In ~/.config/line/settings.json (just for you) or .line/settings.json in the project (for everyone):
{
"permissions": {
"deny": ["Edit(migrations/**)", "Edit(package-lock.json)"]
}
}
Deny wins over every other rule, in every mode. Use ask instead of deny if you want to be asked rather than blocked. Explain the rule in LINE.md too, so the agent doesn't keep trying.
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.xyzFor deleting your whole account or the data of one service.