Skip to content

Commit

Permalink
Merge pull request #47 from JoelQ/add-cli-commands-to-readme
Browse files Browse the repository at this point in the history
Add section in README on CLI commands
  • Loading branch information
jodosha committed Jul 11, 2014
2 parents 18786b3 + cc76948 commit ce4ce77
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -457,6 +457,16 @@ module Bookshelf
end
```

## Command-line

Lotus provides a few command-line utilities:

* `lotus server` boots up a server. Assumes you have a `config.ru` file.
* `lotus console` brings up a REPL. It defaults to IRB but can be configured to
use Pry or Ripl via the `--engine` option. By default, the console will try to
load `config/applications.rb`. You can point it directly to your app via the
`--applications` flag.

## The future

Lotus uses different approaches for web development with Ruby than other frameworks. For this reason, it needs to reach a certain degree of maturity.
Expand Down

0 comments on commit ce4ce77

Please sign in to comment.