# Long form
lsbot --yes router --provider deepseek --api-key sk-xxx
# Short form
lsbot -y router --provider deepseek --api-key sk-xxx
# With debug
lsbot --yes --debug router --provider deepseek --api-key sk-xxx
What It Does
Operation
Without --yes
With --yes
File write
May ask
✅ Immediate
File delete
May ask
✅ Immediate
Shell command
May ask
✅ Immediate
Dangerous ops
❌ Blocked
❌ Blocked
Read operations
✅ Allowed
✅ Allowed
Behavior Examples
File Operations
# Without --yes
User: Save this to config.yaml
AI: Should I save the file? (asking...)
User: Yes
AI: ✅ Saved
# With --yes
User: Save this to config.yaml
AI: ✅ Saved config.yaml (247 bytes)
Batch Operations
# Without --yes
User: Rename all .txt to .md
AI: Found 15 files. Proceed? (asking...)
User: Yes
AI: ✅ Renamed 15 files
# With --yes
User: Rename all .txt to .md
AI: ✅ Renamed 15 files (.txt → .md)
Safety Features (Always Active)
Even with --yes, these are still blocked:
rm -rf /
mkfs, dd if=/dev/zero
System-breaking commands
Critical file deletions
When to Use
✅ Good Use Cases
❌ Avoid Using
Development environment
Production servers
Batch file processing
Shared systems
Code generation
First-time operations
Documentation updates
Sensitive data operations
Trusted workflows
Learning/testing
Best Practices
Use with version control
cd /path/to/git/repo
lsbot --yes router [...]
# Easy to review: git diff
# Easy to undo: git reset --hard
Start with debug mode
lsbot --yes --debug router [...]
Test in safe directory first
mkdir /tmp/test && cd /tmp/test
lsbot --yes router [...]
# Add to ~/.bashrc or ~/.zshrc
alias lingti='lsbot --yes'
alias lingti-debug='lsbot --yes --debug --log verbose'
# Usage
lingti router --provider deepseek --api-key sk-xxx
lingti-debug router --provider deepseek --api-key sk-xxx
Troubleshooting
Problem
Solution
AI still asks for confirmation
Check flag position (must be before subcommand)
Flag not recognized
Rebuild: go build -o dist/lsbot .
Want to cancel
Press Ctrl+C anytime
Review what changed
git diff or git log
Quick Decision Guide
Should I use --yes?
Are you in a git repository? ────────────────┐
│
Yes │ No
↓ ↓
Do you trust the operation? ───────────┐ ❌ DON'T USE
│
Yes │ No
↓ ↓
Is it production data? ─────────┐ ✅ USE
│
Yes │ No
↓ ↓
❌ ✅