Closed parkr closed 10 years ago
Hmm this is extending Octopress::Command. This means that the gem now requires the Octopress CLI. It would be nice if we could not make that a requirement.
@imathis How come? It's the best way to enforce a common interface for all commands, and it uses some magic to collect all commands so we can instantiate them.
The idea is that the Octopress CLI will always be available when octopress-deploy
's command is included.
Note the commit I just added 70c264a. It just makes it so that the gem doesn't break if you try to use it without the CLI installed. I can imagine that some people might want to be able to use this in a Rakefile without the CLI.
Give Octopress some command-line-based deployment :heart:!
Relevant issue on octopress/octopress: https://github.com/octopress/octopress/issues/4
octopress
: https://github.com/octopress/octopress/pull/5Add
octopress-deploy
to yourGemfile
in the:octopress
group and it's accessible!