Skip to content

cbrentharris/restli-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

63 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

#Restli CLI Build Status codecov.io

A python package for creating a boilerplate restli project

===

###INSTALLATION

pip install restli

or

git clone [email protected]:cbrentharris/restli-cli.git
cd restli-cli
python setup.py install

###SCAFFOLDING

restli --scaffold my_project --namespace com.example

Will scaffold a new restli project layout under the directory named my_project with the layout below:

└── my_project
    ├── api
    │   ├── build.gradle
    │   └── src
    │       └── main
    │           ├── idl
    │           ├── mainGeneratedDataTemplate
    │           └── pegasus
    ├── build.gradle
    ├── client
    ├── server
    │   ├── build.gradle
    │   ├── settings.gradle
    │   └── src
    │       └── main
    │           ├── java
    │           └── mainGeneratedRest
    └── settings.gradle

###GENERATION

restli --generate Fortune --namespace com.example

Will generate two restli files for you, api/src/main/pegasus/com/example/fortune/Fortune.pdsc and a server/src/main/java/com/example/fortune/impl/FortunesResource.java

About

Command line tool for scaffolding a new restli project.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published