Skip to content

grandfatha/play-shell

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

play-shell

A fun-side-project of mine turned out to be a CLI for Play-Framework apps based on the Groovysh.

Lets say you have a model called Team:

@Entity
public class Team extends Model {
	public String name;
}

The play-shell lets you interact with your models just like in regular play code:

Usage

1. Clone the repo

git clone git://github.com/grandfatha/play-shell.git

2. Add the module-dependency to your app, e.g., add the following to your dependencies.yml file

require:
    - play
    - play-shell -> play-shell
repositories: 
    - local-modules: 
        type: local 
        artifact: <absolute-path-to-your-cloned-git-repo>/[module] 
        contains: 
            - play-shell

3. Point your Terminal to your app and run ‘play shell’
4. Have fun!
5. Type ‘exit’ to finish

About

A CLI for Play-Framework apps

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published