config.yaml 1010 B

12345678910111213141516171819202122232425262728293031323334353637
  1. ---
  2. listenAddressSingleHTTPFrontend: 0.0.0.0:1337
  3. logLevel: "DEBUG"
  4. checkForUpdates: false
  5. defaultPopupOnStart: execution-dialog
  6. actions:
  7. # Docs: https://docs.olivetin.app/args/input_confirmation.html
  8. # Unnamed confirmation is a UI-only gate; nothing is substituted into the command.
  9. - title: Test unnamed confirmation argument
  10. exec:
  11. - echo
  12. - "Confirmed action ran"
  13. icon: ping
  14. arguments:
  15. - type: confirmation
  16. title: Are you sure?!
  17. # Named confirmation values are only ever 0 or 1, so they are safe with shell actions.
  18. - title: Test named confirmation argument
  19. exec:
  20. - echo
  21. - "Confirmation value: {{ agree }}"
  22. icon: ping
  23. arguments:
  24. - name: agree
  25. type: confirmation
  26. title: I understand the consequences
  27. - title: Test shell with named confirmation
  28. shell: "echo 'Shell confirmation value: {{ agree }}'"
  29. icon: ping
  30. arguments:
  31. - name: agree
  32. type: confirmation
  33. title: Are you sure?!