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.

40 lines
1.3 KiB

11 years ago
  1. module.exports = [
  2. {
  3. groups: "Server",
  4. options: [
  5. {
  6. name: "port", alias: "p", type: Number, defaultOption: true,
  7. description: "Web server port"
  8. },
  9. {
  10. name: "log-format", alias: "f", type: String,
  11. description: "Access log format, written to stdout. Use one of \n'none', 'dev', 'default', 'short', 'tiny' or 'logstalgia'"
  12. },
  13. {
  14. name: "directory", alias: "d", type: String,
  15. description: "Root directory, defaults to the current directory"
  16. },
  17. {
  18. name: "compress", alias: "c", type: Boolean,
  19. description: "Enables compression"
  20. },
  21. {
  22. name: "refreshRate", alias: "r", type: Number,
  23. description: "Statistics view refresh rate in ms. Defaults to 500."
  24. }
  25. ]
  26. },
  27. {
  28. groups: "Misc",
  29. options: [
  30. {
  31. name: "help", alias: "h", type: Boolean,
  32. description: "Print these usage instructions"
  33. },
  34. {
  35. name: "config", type: Boolean,
  36. description: "Prints the stored config"
  37. }
  38. ]
  39. }
  40. ];