Quick Start
CLI Quick Start
Master the Autohand Code command-line interface in minutes. Learn essential commands and productivity workflows for AI-assisted coding.
Pro Tip: The CLI is perfect for automation, scripting, and headless workflows. Use autohand --help to explore all available commands.
Your First Commands
Start with these essential commands to get familiar with the Autohand Code CLI:
Check Installation
Authentication
Quick Code Generation
Essential Workflows
Master these common workflows to boost your productivity:
1. Rapid Prototyping
2. Code Refactoring
3. Test Generation
4. Documentation Generation
Productivity Tips
Use Aliases for Common Commands
Pipe Mode for Workflows
Batch Operations
Configuration Files
Command Reference
Core Commands
| Command | Description | Example |
|---|---|---|
generate |
Generate code from description | autohand generate "Create API server" |
refactor |
Refactor existing code | autohand refactor --file old.js |
test |
Generate and run tests | autohand test --generate --file app.js |
docs |
Generate documentation | autohand docs --readme |
create |
Create new project | autohand create --type web-app |
enhance |
Enhance existing code | autohand enhance --add-logging |
Utility Commands
| Command | Description | Example |
|---|---|---|
analyze |
Analyze code quality | autohand analyze --directory src/ |
optimize |
Optimize performance | autohand optimize --file app.js |
security |
Security analysis | autohand security --scan |
config |
Manage configuration | autohand config --show |
status |
Show system status | autohand features |
Advanced Features
Templates and Snippets
Integration with Git
Headless Mode
Common Issues
Command Not Found
Authentication Errors
Slow Performance
Next Steps
Now that you're comfortable with the CLI, explore these advanced topics: