summaryrefslogtreecommitdiff
path: root/haunt/ui.scm
Commit message (Collapse)AuthorAgeFilesLines
* ui: Fix typo in leave function docstring.jgart2023-06-131-1/+1
| | | | * haunt/ui.scm: Fix typo.
* ui: Make cli options consistent.Filip Lajszczak2022-02-231-1/+1
| | | | | | | * haunt/ui.scm: Option to display version with single character flag was missing for the root command... * haunt/ui/build.scm: ...and was present but undocummented for the build command.
* Fix Guile < 3.0 compatibility issue.David Thompson2022-01-131-2/+13
|
* Mark modules that call 'load' as non-declarative.v0.2.5David Thompson2021-04-151-0/+1
|
* ui: Add CWD to Guile load path.David Thompson2015-10-121-0/+3
| | | | * haunt/ui.scm (haunt-main): Add CWD to Guile load path.
* ui: Set default locale for all commands.David Thompson2015-07-261-0/+1
| | | | * haunt/ui.scm (haunt-main): Set LC_ALL.
* ui: Add "build" to command list.David Thompson2015-04-111-1/+1
| | | | * haunt/ui.scm (commands): Add "build".
* ui: Fix load-config.David Thompson2015-04-111-2/+3
| | | | | * haunt/ui.scm (load-config): Use an absolute path when calling 'load'. Fix typo in error message.
* ui: Remove use of defunct haunt-error.David Thompson2015-04-111-1/+1
| | | | * haunt/ui.scm (run-haunt-command): Remove call to 'haunt-error'.
* ui: Improve option processing and help output.David Thompson2015-04-111-14/+56
| | | | | | | | | | | | | | * haunt/ui.scm (%common-options, %default-common-options): New variables. (simple-args-fols, show-common-options-help, leave, string->number*, load-config): New procedures. (haunt-error): Remove. (show-version-and-exit): Actually exit. Add 'name' argument. (haunt-main): Use new 'show-version-and-exit'. * haunt/ui/serve.scm (show-server-help): Remove. (show-help): New procedure. (%options, %default-options): New variables. (haunt-serve): Use SRFI-37 option processing.
* ui: Display version information.David Thompson2015-01-041-2/+17
| | | | | | | | | | | * haunt/config.scm: Delete. * haunt/config.scm.in: New file. * haunt/ui.scm (show-version-and-exit): New procedure. (program-name): Change default value. (haunt-main): Add version option. * haunt/ui/serve.scm (haunt-serve): Likewise. * configure.ac (AC_CONFIG_FILES): Add 'haunt/config.scm'. * .gitignore: Ignore 'haunt/config.scm'.
* Add serve command.David Thompson2015-01-041-3/+34
| | | | | | | | | | | | * haunt/config.scm: New file. * haunt/serve/mime-types.scm: New file. * haunt/serve/web-server.scm: New file. * haunt/ui/serve.scm: New file. * haunt/ui.scm (commands, program-name): New variables. (show-haunt-help): Display possible commands. (run-haunt-command): New procedure. (haunt-main): Run subcommands. * Makefile.am (SOURCES): Add files.
* First commit.David Thompson2015-01-041-0/+51