Skip to content

Commit

Permalink
fix links to rdoc
Browse files Browse the repository at this point in the history
  • Loading branch information
davetron5000 committed Jul 16, 2022
1 parent d0613ff commit 074daa9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.rdoc
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ A canonical <tt>OptionParser</tt>-driven app has a few problems with it structur
* Verbose to use +opts.on+ just to set a value in a +Hash+
* No exception handling - you have to explicitly call <tt>exit</tt> and/or let exceptions' stack traces leak through.

optparse-plus provides OptparsePlus::Main to help make a clean and easy-to-maintain <tt>bin</tt> file. See the {rdoc}[http://davetron5000.github.com/optparse-plus/rdoc/classes/OptparsePlus/Main.html] for an example, and see {my blog}[http://www.naildrivin5.com/blog/2011/12/19/methadone-the-awesome-cli-library.html] on the derivation of this module.
optparse-plus provides OptparsePlus::Main to help make a clean and easy-to-maintain <tt>bin</tt> file. See the {rdoc}[http://davetron5000.github.io/optparse-plus/rdoc/classes/OptparsePlus/Main.html] for an example, and see {my blog}[http://www.naildrivin5.com/blog/2011/12/19/methadone-the-awesome-cli-library.html] on the derivation of this module.

== Wrapper for running external commands with good logging

Expand All @@ -142,7 +142,7 @@ Enter OptparsePlus::SH
#
# there's a LOT MORE

See the {rdoc}[http://davetron5000.github.com/optparse-plus/rdoc/classes/OptparsePlus/SH.html] for more detailed examples and usage.
See the {rdoc}[http://davetron5000.github.io/optparse-plus/rdoc/classes/OptparsePlus/SH.html] for more detailed examples and usage.

This isn't a replacement for Open3 or ChildProcess, but a way to easily "do the right thing" for most cases.

Expand All @@ -158,7 +158,7 @@ OptparsePlus::CLILogger is designed to handle this. It's a proper subclass of R
* When these are redirected to a file, the log messages are properly date/time stamped as you'd expect
* You can mix-in OptparsePlus::CLILogging to get access to a global logger instances without resorting to an explicit global variable

See {CLILogger's rdoc}[http://davetron5000.github.com/optparse-plus/rdoc/classes/OptparsePlus/CLILogger.html] and then {CLILogging's}[http://davetron5000.github.com/optparse-plus/rdoc/classes/OptparsePlus/CLILogging.html] for more.
See {CLILogger's rdoc}[http://davetron5000.github.io/optparse-plus/rdoc/classes/OptparsePlus/CLILogger.html] and then {CLILogging's}[http://davetron5000.github.io/optparse-plus/rdoc/classes/OptparsePlus/CLILogging.html] for more.

Currently, there are classes that assist in directing output logger-style to the right place; basically ensuring that errors go to +STDERR+ and everything else goes to +STDOUT+. All of this is, of course, configurable

Expand Down

0 comments on commit 074daa9

Please sign in to comment.