lokka-sh is a mini shell for CMS Lokka that provides a uniform and quick access to commands.
$ gem install lokka-sh
$ cd your-lokka-app
$ lokka-sh
Execute rake task:
lokka> rake db:migrate
Run console:
lokka> lokka console
please type help
lokka-sh will try to load '~/lokkashrc' as configuration.
Example:
# ~/lokkashrc
Lokka::Sh::Command.define 'my_command' do |arg|
puts "Execute my_command with arg(`#{arg}`)!"
end
This library is fork of jugyo/rails-sh.
Copyright (c) 2012 Daichi Hirata. See LICENSE.txt for further details.