CLI Overview
Schedule Everything provides a comprehensive command-line interface (CLI) for managing your schedules, tasks, and system configuration. The CLI tool is automatically installed when you run the installation script.
Accessing the CLI
After installation, the rmd command should be available in your terminal. reminder still works as a compatibility alias. If rmd is not on your PATH, ensure you've added the following to your shell profile:
export PATH="$HOME/schedule_management:$PATH"
export REMINDER_CONFIG_DIR="$HOME/schedule_management/config"
alias rmd="$HOME/schedule_management/rmd"
Then reload your shell:
source ~/.zshrc # or source ~/.bash_profile
Command Categories
The CLI commands are organized into these main categories:
Schedule Management
Commands for managing your schedule and service:
rmd update- Reload config and restart servicermd switch- Change the activeuser_config_nsnapshot and reload the servicermd setup- Interactive AI-assisted setup powered by OpenCode with profile-first intake, evidence-informed schedule planning, and optional file-aware reasoningrmd sync- Generate and confirm today's pomodoro/potato task assignmentsrmd view- Generate schedule visualizationrmd status- Show upcoming events, including synced task titles when presentrmd stop- Stop the alarm service
Task Management
Commands for managing your task list:
Deadline Management
Commands for managing event deadlines:
rmd ddl add- Add or update deadlinesrmd ddl rm- Remove deadlinesrmd ddl- List all deadlines with urgency status
Habits
Commands for tracking daily habits:
rmd track [ids...]- Log completed habits for today (opens a prompt if no IDs given)
Reports
Commands for generating productivity reports:
rmd report <type>- Generate weekly or monthly PDF reports
System Commands
rmd edit <file>- Open configuration files (settings,odd,even,deadlines,habits) in your default editorrmd --help- Show help information
Configuration Directory
By default, the CLI looks for its config root in:
~/schedule_management/config/(macOS/Linux)
Inside that root, schedule files live under versioned user_config_n
directories and shared task data stays under tasks/.
You can override this by setting the REMINDER_CONFIG_DIR environment variable.
Error Handling
The CLI provides clear error messages for common issues:
# Configuration file not found
Error: settings.toml not found in /Users/username/schedule_management/config/
# Invalid TOML syntax
Error: Invalid TOML syntax in odd_weeks.toml: Expected '=' at line 5
# Service not running
Warning: Schedule management service is not running. Run 'rmd update' to start it.
Exit Codes
The CLI returns standard exit codes:
0- Success1- General error2- Configuration error3- Service error
Examples
Basic Usage
# Check service status
rmd status
# Add a high-priority task
rmd add "Complete project proposal" 9
# Generate today's synced focus-block plan
rmd sync
# View your schedule
rmd view
# Stop the service
rmd stop
Advanced Usage
# Update with custom config directory
REMINDER_CONFIG_DIR=/custom/path/config rmd update
# Switch to config snapshot 2 under a custom config root
REMINDER_CONFIG_DIR=/custom/path/config rmd switch 2
# List tasks with verbose output (if supported)
rmd status -v
# Remove multiple tasks
rmd rm "Task 1" "Task 2" "Task 3"
Integration with Other Tools
The CLI can be integrated with other tools and scripts:
# Use in shell scripts
#!/bin/bash
if rmd status | grep -q "No upcoming events"; then
echo "Schedule is clear"
fi
# Pipe to other commands
rmd ls | grep "urgent" | wc -l
# Use with cron for automated tasks
0 9 * * * /Users/username/schedule_management/rmd status >> ~/schedule.log
Troubleshooting CLI Issues
Command Not Found
If you get command not found: rmd:
- Check that the installation completed successfully
- Verify the PATH includes the installation directory
- Ensure your shell profile is sourced
Permission Denied
If you get Permission denied errors:
chmod +x ~/schedule_management/rmd
Configuration Errors
If commands fail with configuration errors:
- Check that all required files exist in the config directory
- Validate TOML syntax using an online validator
- Ensure file permissions are correct
Next Steps
- Learn about Schedule Management Commands
- Explore Task Management Commands
- See Configuration and Settings for detailed syntax