Class Nanoc3::CLI::Base
In: lib/nanoc3/cli/base.rb
Parent: Cri::Base

Methods

Public Class methods

Public Instance methods

Returns the list of global option definitionss.

Prints the given error to stderr. Includes message, possible resolution, compilation stack, backtrace, etc.

Helper function which can be called when a command is executed that requires a site, such as the compile command.

Returns a string containing hints for resolving the given error, or nil if no resolution can be automatically obtained.

Inherited from ::Cri::Base

Sets the data source‘s VCS to the VCS with the given name. Does nothing when the site‘s data source does not support VCSes (i.e. does not implement vcs=).

Gets the site (Nanoc3::Site) in the current directory and loads its data.

[Validate]