tma-cli
tma cli is the standard tooling for micro app development.
Install
npm i tt-ide-cli
Usage
tma create
Usage: create <app-name>
create a new project powered by libra cli in current path
Options:
-f, --force Overwrite target directory if it exists
-h, --help Output usage information
tma open
Usage: open <project-path>
open target project by path
tma login
Usage: login [options]
login to the developer platform
Options:
-m, --mobile Login by mobile
-e, --email Login by email
-h, --help Output usage information
-p, --proxy Login with proxy
tma login by email
Usage: login-e [email] [password]
Login to the developer platform by E-mail
Options:
-p, --proxy Login with proxy
tma preview
Usage: preview [options] [entry]
preview project by remote
Options:
-c, --copy Copy remote url to clipboard
-f, --force Preview project without local cache
-s, --small Use small QR Code, but some environments not working
-h, --help Output usage information
-p, --proxy Preview with proxy
tma upload
Usage: upload [options] [entry]
upload project to the developer platform
Options:
-v, --app-version <version> App version (eg: [major].[minor].[patch])
-c, --app-changelog <log> Changelog for this version
-p, --proxy <proxy> Update request proxy
-cp, --copy Copy remote url to clipboard
-h, --help output usage information