Class | Nanoc3::CLI::Base |
In: |
lib/nanoc3/cli/base.rb
|
Parent: | Cri::Base |
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.
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=).