Command Reference

This section provides a complete reference for all sunsetr commands and global flags.

Command Cheat Sheet

CommandPurposeExample
sunsetrStart sunsetrsunsetr
sunsetr --backgroundStart in backgroundsunsetr --background
sunsetr --debugStart with debug outputsunsetr --debug
sunsetr test <TEMP> <GAMMA>Test temperature/gammasunsetr test 3300 90
sunsetr geoSelect citysunsetr geo
sunsetr preset <NAME>Switch presetsunsetr preset day
sunsetr preset activeShow active presetsunsetr preset active
sunsetr preset listList presetssunsetr preset list
sunsetr statusShow current statesunsetr status
sunsetr status --jsonJSON outputsunsetr status --json
sunsetr status --followStream updatessunsetr status --follow
sunsetr get <FIELD>Read config valuesunsetr get night_temp
sunsetr set <FIELD>=<VALUE>Write config valuesunsetr set night_temp=3500
sunsetr restartRestart sunsetrsunsetr restart --instant
sunsetr stopStop sunsetrsunsetr stop
sunsetr --simulate ...Simulate time windowsunsetr --simulate "..." "..." 60

Built-in Help

Sunsetr includes comprehensive built-in help:

# General help
sunsetr help            # Show all available commands
sunsetr --help          # Show detailed usage information

# Command-specific help
sunsetr help <COMMAND>

Commands

  • test - Test color temperature and gamma values temporarily
  • geo - Configure geographic location interactively
  • preset - Switch between configuration presets
  • status - Monitor current runtime state
  • get & set - Read and modify configuration values
  • restart & stop - Process management commands
  • Global Flags - Flags available on main command

Next Steps