android-cli
v1.0.1
Published
Inspired to angular cli
Downloads
5
Readme
CLI for android applications
Installation
Usage
Options
Generate
Generate component (e.g activity, fragment etc..)
You can find all possible blueprints in the table below
Scaffold | Usage
--- | ---
Activity | acli -g activity my-new-activity
Fragment | acli -g fragment my-new-fragment
LoginActivity | acli -g login-acitivty my-new-login-activity
TabbedActivity | acli -g tabbed-acitivty my-tabbed-activity
Result Example
Successful generated activity [ACTIVITY_NAME]Activity.java! Successful generated activity layout file activity_[ACTIVITY_NAME].xml!
Permission
add uses-permission to manifest file(e.g INTERNET)
Permission | Usage
--- | ---
INTERNET | acli -p INTERNET
Result Example
Successful adding permission
Dependency
add dependency to build.gradle and sync gradle
Result Example
Successful adding Dependency Syncing gradle.. <run ./gradlew build>
Milestone
Milestone of this project
- [x] Get packages at java src path by work module
- [x] Parse AndroidManifest.xml and for add permission
- [ ] Connect travis.ci to stick green passing image-!
- [x] Deploy this project to NPM (Node Package Manager)