伪造CLI
命令行界面(CLI)帮助创建,管理并部署Forge应用.
见 开发者.atlassian.com/平台/forge/ 文档和教程 解释弗吉.
所需资源
您需要以下内容:
重要内容: 我们建议在您的用户下运行节点. 如果您在根特权下运行节点,则需要更新节点配置,允许全局模块通过运行使用二进制来安装:
npm config set unsafe-perm true
为检查您的节点版本, 请在终端中运行以下 :
node --version
见 开始 说明设置.
安装
通过运行在全球安装 CLI :
npm install -g @forge/cli
开始吧
通过运行探索帮助 :
forge --help
此显示可用的命令列表 :
Usage: forge [options] [command]
Options:
--version output the version number
--verbose enable verbose mode
-h, --help output usage information
Quick Start
login [options] log in to your Atlassian account
create [options] [name] create an app
deploy [options] deploy your app to an environment
install [options] manage app installations
tunnel [options] start a tunnel to connect your local code with the app
running in the development environment
Develop
build [options] build and upload your app
lint [options] check the source files for common errors
logs [options] view app logs
Manage
register [options] [name] register an app you didn't create so you can run commands
for it
developer-spaces [options] manage Developer Spaces
uninstall [options] uninstall the app from an Atlassian site
environments [options] manage app environments
variables [options] manage app environment variables
webtrigger [options] manage webtriggers
settings [options] manage Forge CLI settings
providers [options] manage external providers
storage [options] manage storage for your app
eligibility [options] check if your app is eligible for certain programs like
Runs on Atlassian
version [options] app version information
custom-scopes [options] manage custom scopes
Account
logout [options] log out of your Atlassian account
whoami [options] display the account information of the logged in user
CLI Experience
autocomplete [options] [install|uninstall] configures autocomplete for the Forge CLI
feedback [options] let us know what you think about Forge
assistant [options] [⚠️ experimental feature] manage AI assistant settings
(Rovo/Gemini)
支助
见 找人帮忙 如何获得帮助和提供反馈.