A mini shell for Cloud CMS Lokka that provides a uniform and quick access to commands.
Ruby
Pull request Compare This branch is 20 commits ahead, 2 commits behind jugyo:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
bin
lib
spec
.gitignore
.rspec
.travis.yml
Gemfile
LICENSE
README.md
Rakefile
lokka-sh.gemspec

README.md

lokka-sh

lokka-sh is a mini shell for CMS Lokka that provides a uniform and quick access to commands.

Build Status

Install

$ gem install lokka-sh

Usage

$ cd your-lokka-app
$ lokka-sh

Examples

Execute rake task:

lokka> rake db:migrate

Run console:

lokka> lokka console

Commands

please type help

Configuration

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

Acknowledge

This library is fork of jugyo/rails-sh.

Copyright

Copyright (c) 2012 Daichi Hirata. See LICENSE.txt for further details.