You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

32 lines
865 B

3 years ago
3 years ago
  1. package main
  2. const helpString = `
  3. lucy lucifer CLI
  4. EXAMPLES
  5. lucy set tag:Hexagon color=hs:35,1 intensity=0.3
  6. lucy run SetProfile name=evening
  7. DEVICE COMMANDS
  8. list <search>
  9. set <search> <power=B> <color=C> <intensity=F> <temperature=N>
  10. tag <search> <[+/-]tag-name>
  11. update <search> <name=S> <icon=S> <prop.*=S/NULL>
  12. EVENT HANDLER COMMANDS
  13. handler list
  14. handler add <event> <search> \
  15. <one-shot=B> \
  16. <priority=N> \
  17. <from=TOD to=TOD> \
  18. <conditions.[any.*|all.*|*][<|<=|=|=>|>]*> \
  19. <set-power=B> <set-color=C> <set-intensity=F> <set-temperature=N> \
  20. <add-intensity=F> \
  21. <fire.name=S> <fire.payload.*=S>
  22. handler delete <id>
  23. EVENT COMMANDS
  24. run <event name> <*=S>
  25. NOTE: You may have to surround arguments including < or > with quotation marks!
  26. `