nf/nft/nfctl/readme.md
2024-07-12 16:00:15 +08:00

845 B

nfctl

通过 nfctl 快速开启后台项目

1. Installation

  • go install github.com/loveuer/nf/nft/nfctl@latest
  • ② download prebuild binary release

2. Usage

  • nfctl new {project}
  • nfctl new project -t ultone
  • nfctl new project -t https://github.com/xxx/yyy.git
  • nfctl new project --template https://gitcode/loveuer/ultone.git
  • nfctl new project --template https://{username}:{password/token}@my.gitlab.com/name/project.git

3. nfctl init script

  • 为方便模版的初始化, 可以采用 nfctl init script, 当 nfctl new project -t xxx 从模版开始项目时会自动执行
  • 具体的编写规则如下: