Add an experimental "console" CLI command.
The "console" command drops you into an IRB session in the context of the Middleman application instance. You can look at configuration, poke around at the sitemap and data, try out handlers (after calling self.current_path = "foo"), etc.
This commit is contained in:
parent
52c4677391
commit
2a5513dcc9
2 changed files with 47 additions and 0 deletions
|
@ -87,3 +87,4 @@ require "middleman-core/cli/bundler"
|
|||
require "middleman-core/cli/extension"
|
||||
require "middleman-core/cli/server"
|
||||
require "middleman-core/cli/build"
|
||||
require "middleman-core/cli/console"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue