Class | Guard::Guardfile |
In: |
lib/guard/guardfile.rb
|
Parent: | Object |
The Guardfile is responsible for generating the Guardfile and adding guards’ template into it.
@see Guard::CLI
Creates the initial Guardfile template when it does not already exist.
@see Guard::CLI.init
@param [Hash] options The options for creating a Guardfile @option options [Boolean] :abort_on_existence Whether to abort or not when a Guardfile already exists
Adds the templates of all installed Guard implementations to an existing Guardfile.
@see Guard::CLI.init
Adds the Guardfile template of a Guard implementation to an existing Guardfile.
@see Guard::CLI.init
@param [String] guard_name the name of the Guard or template to initialize