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.

54 lines
1.3 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: wrt [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 ls List entries in repository"
  30. echo " wrt config Display current configuration"
  31. echo " wrt addprop Add a property to an entry"
  32. echo " wrt findprop Find entries containing certain properties"
  33. echo " wrt version, -v Print the installed version of wrt"
  34. echo " wrt help, -h Print this help message"
  35. echo
  36. echo "You must specify a command."
  37. }
  38. print_help
  39. exit 0