Class: Nanoc::CLI::Commands::Shell

Inherits:
Nanoc::CLI::CommandRunner show all
Defined in:
lib/nanoc/cli/commands/shell.rb

Instance Method Summary (collapse)

Methods inherited from Nanoc::CLI::CommandRunner

#call, call, #debug?, #in_site_dir?, #load_site, #require_site, #site

Instance Method Details

- (Object) run



12
13
14
15
16
17
18
# File 'lib/nanoc/cli/commands/shell.rb', line 12

def run
  require 'pry'

  require_site

  Nanoc::Context.new(env).pry
end