energy/cmd
2022-12-10 18:39:47 +08:00
..
energy upgrade: energy command line 2022-12-10 18:39:47 +08:00
progress-bar upgrade: Cannot run is being upgraded, v4 2022-12-07 15:50:59 +08:00
command.go upgrade: Cannot run is being upgraded, v4 2022-12-07 15:50:59 +08:00
consts.go upgrade: Cannot run is being upgraded, v4 2022-12-07 15:50:59 +08:00
install.go upgrade: Cannot run is being upgraded, v4 2022-12-07 15:50:59 +08:00
package.go upgrade: Cannot run is being upgraded, v4 2022-12-07 15:50:59 +08:00
README.md update: Auto config env 2022-11-28 21:59:43 +08:00
version.go upgrade: energy command line 2022-12-10 18:27:36 +08:00

Energy 命令行工具

自动配置环境

使用方式

一、使用预编译

下载地址

energy_cmd_windows32

energy_cmd_windows64

energy_cmd_macosx64

energy_cmd_linux64

配置到环境变量 或 直接在命令行中执行

二、自行编译

需要安装Golang环境

go get -u github.com/energye/energy

进入 cmd/energy 目录

执行命令 "go install" 安装命令行工具

go install

三、命令参数

energy install [path] [version]

名称 描述
install 安装energy框架, 需要连接互联网, 自动下载CEF和Energy框架环境
name 可选参数, 目录名称, 默认EnergyFramework
path 可选参数, 安装目录, 默认当前目录生成[name]文件夹
version 可选参数, 版本号v1.1.0, 默认最新版本latest

示例

  1. energy install

  2. energy install --path=/app/energyFramework --version=v1.1.0


授权

License GPL 3.0