Skip to content

Commit 8008ef4

Browse files
committed
Set webpack dev environment with ts-loader
1 parent beb7a9e commit 8008ef4

File tree

8 files changed

+3091
-0
lines changed

8 files changed

+3091
-0
lines changed

app.ts

+10
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
import * as commander from "commander";
2+
3+
commander.arguments('<name>')
4+
.version('0.0.1')
5+
.option('-g, --generate [name]', 'component (e.g activity, fragment etc..)')
6+
.option('-p, --permission <permission>', 'add uses-permission to manifest file(e.g INTERNET)')
7+
.option('-d, --dependency <dependency>', 'add dependency to build.gradle and sync gradle')
8+
.action((name: string) => {
9+
10+
}).parse(process.argv);

bin/acli

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
#!/usr/bin/env node
2+
3+
require("../libs/android-cli.js")

0 commit comments

Comments
 (0)