A CLI safe code editor for AI agents. Includes syntax checking, backup management, and a curses-based help menu.
curl -fsSL https://raw.githubusercontent.com/gliddd4/dev/main/install.sh | shRun the menu:
devdev view <file> # View with line numbers
dev rename <file> '<old>' '<new>' # Replace text (simple renames only)
dev replace <file> <start> <end> '<new>' # Replace lines (preferred)
dev find '<pattern>' # Search project
dev dupecheck [file] # Check for duplicate functions/imports
dev diff # Show all changes
dev undo <file> # Restore backup
dev archive # Archive backups- Syntax checking (Python, Swift, Shell, JSON)
- Auto .bak files
- Diff preview
- Duplicate function detection
- Won't apply if syntax broken
dev view file.py- See line numbersdev replace file.py 10 20 'new code'- Edit linesdev diff- Check changesdev archive- Keep changes ORdev undo file.py- Revert
- Works instantly anywhere (no git init)
- Won't mess with your git history
- AI agents can verify backups exist
- Simple undo for fast code editing
- Use git for real commits, .bak for AI
- Python 3 (for syntax checking)
- Bash (built-in on macOS/Linux)