Almost-minimal filesystem based blog.
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.

52 lines
1.2 KiB

  1. #!/bin/sh
  2. : <<=cut
  3. =pod
  4. =head1 NAME
  5. wrt-help - print help for wrt, WRiting Tool
  6. =head1 SYNOPSIS
  7. wrt help
  8. wrt -h
  9. wrt --help
  10. =head1 DESCRIPTION
  11. C<wrt-help> displays basic help for the wrt utility.
  12. Detailed documentation can be found in the L<App::WRT> man page or at
  13. L<https://code.p1k3.com/gitea/brennen/wrt>.
  14. =head1 LICENSE
  15. wrt is free software; you can redistribute it and/or modify
  16. it under the terms of the GNU General Public License as published by
  17. the Free Software Foundation; either version 2 of the License, or
  18. (at your option) any later version.
  19. =head1 AUTHOR
  20. Brennen Bearnes <code@p1k3.com>
  21. =cut
  22. print_help() {
  23. echo "wrt - a writing tool"
  24. echo
  25. echo "Usage: $0 [command] [args]"
  26. echo " wrt init Initialize a wrt repository"
  27. echo " wrt display Print HTML for entries"
  28. echo " wrt render-all Render all defined entries to filesystem"
  29. echo " wrt addprop Add a property to an entry"
  30. echo " wrt findprop Find entries containing certain properties"
  31. echo " wrt version, -v Print the installed version of wrt"
  32. echo " wrt -h Print this help message"
  33. echo
  34. echo "You must specify a command."
  35. }
  36. print_help
  37. exit 0