CLI Commands Reference¶
Quick reference for Arc commands.
Command Overview¶
/ml- Machine learning operations (data, model, evaluate, predict, jobs)/sql- SQL queries/config- Configuration/report- Generate reports/help- Show help/clear- Clear context
Starting Arc¶
ML Commands¶
/ml data¶
Create data processing pipeline.
Example:
/ml data --name processed_features
--instruction "Normalize features and split data"
--source-tables raw_data
/ml model¶
Train a model.
Example:
/ml evaluate¶
Evaluate trained model.
Available metrics:
- Classification: accuracy, precision, recall, f1, auc
- Regression: mse, rmse, mae, r2
/ml predict¶
Make predictions.
/ml jobs¶
Manage jobs.
SQL Commands¶
Execute SQL queries:
Common examples:
/sql SHOW TABLES
/sql DESCRIBE table_name
/sql SELECT * FROM table_name LIMIT 10
/sql CREATE TABLE new AS SELECT * FROM old WHERE condition
Configuration¶
Interactive prompts for: - API Key - Base URL - Model name
Settings saved to ~/.arc/user-settings.json.
Alternative: Use environment variables:
export ARC_API_KEY="your-key"
export ARC_BASE_URL="https://api.openai.com/v1"
export ARC_MODEL="gpt-4"
Other Commands¶
/report # Generate ML workflow report
/help # Show available commands
/clear # Clear conversation context
exit # Exit Arc
Natural Language¶
You can also use plain English instead of commands:
"Clean up data in customers table"
"Build a model to predict churn"
"Evaluate my model on test data"
Need Help?¶
- Run
/helpin Arc for interactive help - Run
arc --helpfor command-line options - See User Guides for detailed workflows