Module: Toys

Defined in:
lib/toys.rb,
lib/toys/version.rb,
lib/toys/standard_cli.rb,
lib/toys/templates/rake.rb,
lib/toys/templates/rdoc.rb,
lib/toys/templates/clean.rb,
lib/toys/templates/rspec.rb,
lib/toys/templates/yardoc.rb,
lib/toys/templates/rubocop.rb,
lib/toys/templates/minitest.rb,
lib/toys/templates/gem_build.rb

Overview

Toys is a configurable command line tool. Write commands in config files using a simple DSL, and Toys will provide the command line executable and take care of all the details such as argument parsing, online help, and error reporting. Toys is designed for software developers, IT professionals, and other power users who want to write and organize scripts to automate their workflows. It can also be used as a Rake replacement, providing a more natural command line interface for your project's build tasks.

Defined Under Namespace

Modules: Templates Classes: StandardCLI

Constant Summary collapse

VERSION =

Current version of the Toys command line executable.

Returns:

  • (String)
"0.10.5"
EXECUTABLE_PATH =

Path to the Toys executable.

Returns:

  • (String)

    Absolute path to the executable

  • (nil)

    if the Toys executable is not running.

::ENV["TOYS_BIN_PATH"]