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.

44 lines
796 B

  1. #!/usr/bin/env perl
  2. =pod
  3. =head1 NAME
  4. wrt-version - print the installed version of wrt
  5. =head1 USAGE
  6. wrt version
  7. wrt --version
  8. wrt -v
  9. =head1 DESCRIPTION
  10. C<wrt-version> displays the currently installed version of wrt.
  11. Detailed documentation for wrt can be found in the L<App::WRT> man page or at
  12. L<https://code.p1k3.com/gitea/brennen/wrt>.
  13. =head1 LICENSE
  14. wrt is free software; you can redistribute it and/or modify
  15. it under the terms of the GNU General Public License as published by
  16. the Free Software Foundation; either version 2 of the License, or
  17. (at your option) any later version.
  18. =head1 AUTHOR
  19. Brennen Bearnes <code@p1k3.com>
  20. =cut
  21. use 5.10.0;
  22. use strict;
  23. use warnings;
  24. no warnings 'uninitialized';
  25. use App::WRT;
  26. print $App::WRT::VERSION;
  27. exit(0);