0.0.11 • Published 1 year ago

flora-cmd v0.0.11

Weekly downloads
-
License
MIT
Repository
-
Last release
1 year ago

flora-cmd

npm i flora-cmd -g

例子

在终端执行f g就相当于执行flora generate

在终端执行f uc就相当于执行flora updatedb --create_db

...

目前已支持的命令

g: flora generate 生成代码

s: flora server 启动后端服务

w: flora watch 启动watch进程

u: flora updatedb 更新数据库

uc: flora updatedb --create_db 创建并更新数据库

up: flora upgrade go.mod依赖关系的版本升级

r: flora code release 版本发布

doc: flora doc 打开web文档

待支持

1. 支持预设项目路径

eg .

f set 1 ~/a2/src/eng/polarise-acgedu/projects/dev

f cd 1

f list

2. 支持多参数

暂时只支持一个参数,例如flora code init ma.applysquare.net/hzl/flora-hello

这种需要ma.applysquare.net/hzl/flora-hello参数的flora命令暂不支持,以后有空会更新。

flora project dbreset # 会删除所有数据
flora project dburl #打印数据库访问地址
flora code init xxx
flora project dbdump > /tmp/my_backup.sql
flora k8s xxx

support

temir

0.0.11

1 year ago

0.0.10

1 year ago

0.0.9

2 years ago

0.0.8

2 years ago

0.0.7

2 years ago

0.0.6

2 years ago

0.0.5

2 years ago

0.0.4

2 years ago

0.0.3

2 years ago

0.0.2

2 years ago

0.0.1

2 years ago