Appcelerator Team Workflow CLI Tools
Install
NPM Stable version
$ npm install -g ateam
Bleeding edge version
$ npm install -g git+https://github.com/euforic/ateam.git
API
Help
Outputs usage. Optional command for its usage.
$ ateam [command] --help
ticket#view
View Ticket on Jira or Github with -g
flag
$ ateam ticket view <ticket-name> [-g]
ticket#fix
Creates a new git branch for the given ticket
$ ateam ticket fix <ticket-name>
ticket#close
Deletes branches created for ticket and opens up ticket on jira
$ ateam ticket close <ticket-name>
sdk#build
Builds the titanium sdk from source
Options:
-h, --help output usage information
-v, --vname <name> set version name
-i, --ios build ios sdk
-a, --android build android sdk and v8
-w, --mobileweb builds mobileweb sdk
-j, --jsca generate jsca for docs
-f, --full build all flags
$ ateam sdk build [options]
tcase
Creates a new TI project to execute a test case.
$ ateam tcase <ticket-name> [-p --platform] <platform>
tcase#close
Deletes the TI project generated to execute a test case.
$ ateam tcase <ticket-name> [-p] <platform>
auth
Set auth credentials for service
Available Services:
$ ateam auth <service>
pullreq#view
View all open pull requests. To view in browser add the -b
flag
$ ateam pullreq view <username>/<repo> [-b]
pullreq#view
View a certain pull request. To view in browser add the -b
flag
$ ateam pullreq view <username>/<repo> -n <ticket-name> [-b]
pullreq#submit
Submit a new pull request
Prompt fields:
- title : Title of pull request
- owner : Repo owner to submit pull request to
- repo : Repo to submit pull request to
- head : Branch to pull in to owners repo
- base : Repo branch to submit pull request to
- comment : Pull request ticket comments
$ ateam submit pullreq