New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

tt-ide-cli

Package Overview
Dependencies
Maintainers
4
Versions
133
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

tt-ide-cli

Command line interface for micro app development

  • 0.0.33
  • npm
  • Socket score

Version published
Weekly downloads
24
decreased by-35.14%
Maintainers
4
Weekly downloads
 
Created
Source

tma-cli

tma 是字节跳动小程序官方提供的命令行工具。

English

安装

建议在全局安装 tma

npm install -g tt-ide-cli

使用

创建新项目

在当前目录下,以给定的项目名字创建一个空白的小程序项目。

Usage: tma create <project-name>

Create a new project with given name in current folder

Options:

  -f, --force        Overwrite target directory if it exists
  -h, --help         Output usage information

打开已有项目

在小程序开发者工具中打开给定目录的项目。

如果给定的目录不存在,则仅打开开发者工具。

Usage: tma open <project-path>

Open target project by path

登录

登录到开发者平台。支持代理设置。

Usage: tma login [options]

Login to the developer platform

Options:
  -m, --mobile         Login by mobile
  -e, --email          Login by email
  -p, --proxy <proxy>  Login with proxy
  -h, --help           output usage information

通过 email 登录

Usage: login-e [email] [password]

Login to the developer platform by E-mail

Options:
  -p, --proxy <proxy>  Login with proxy
  -h, --help           Output usage information

预览小程序

将项目上传后,扫码二维码来预览小程序。

Usage: tma preview [options] [entry]

preview project by remote

Options:
  -f, --force          Preview project without local cache(deprecated)
  --disable-cache      Preview project without local cache
  -s, --small          Use small QR Code, but it does not take effect in some environments
  -c, --copy           Copy remote url to clipboard
  -p, --proxy <proxy>  Preview with proxy
  -h, --help           output usage information

上传项目

把项目上传到开发者平台进行发布。

Usage: tma 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

FAQs

Package last updated on 22 Oct 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc