@0x77/ccpack 中文文档教程

发布于 3年前 浏览 26 项目主页 更新于 3年前

ccpack

CC:提供 Live-Reload 和可选 TypeScript 的调整工具

https://www.youtube.com/watch?v=hCnWti7NHdg

oclif 版本 下载/周”></a> 
  <a href=License

Starting lua project

ccpack --id fillwithyouranyvalue -a entrypoint.lua -s path/to/your/code/folder

Usage

$ npm install -g @0x77/ccpack
$ ccpack COMMAND
running command...
$ ccpack (-v|--version|version)
@0x77/ccpack/0.1.4 darwin-x64 node-v16.13.1
$ ccpack --help [COMMAND]
USAGE
  $ ccpack COMMAND
...

Commands

ccpack dev

以开发模式启动ccpack项目

USAGE
  $ ccpack dev

OPTIONS
  -a, --autostart=autostart  autostart filename
  -h, --help                 show CLI help
  -i, --id=id                (required)
  -s, --source=source        [default: dist]

EXAMPLES
  $ ccpack dev -id idflag
  execute following to run project:
    wget run https://idflag.loca.lt/loader <filename>

  $ ccpack dev -a index.lua
  execute following to run project:
    wget run https://<idflag>.loca.lt/loader index.lua

见代码:src/commands/dev.ts

ccpack help [COMMAND]

显示 ccpack 的帮助

USAGE
  $ ccpack help [COMMAND]

ARGUMENTS
  COMMAND  command to show help for

OPTIONS
  --all  see all commands in CLI

参见代码:@oclif/plugin-help

ccpack init FOLDER

初始化ccpack项目

USAGE
  $ ccpack init FOLDER

OPTIONS
  -h, --help  show CLI help

EXAMPLE
  $ ccpack init

见代码:src/commands/init.ts

ccpack

CC: Tweaked tool that provides Live-Reload and optionally TypeScript

https://www.youtube.com/watch?v=hCnWti7NHdg

oclif Version Downloads/week License

Starting lua project

ccpack --id fillwithyouranyvalue -a entrypoint.lua -s path/to/your/code/folder

Usage

$ npm install -g @0x77/ccpack
$ ccpack COMMAND
running command...
$ ccpack (-v|--version|version)
@0x77/ccpack/0.1.4 darwin-x64 node-v16.13.1
$ ccpack --help [COMMAND]
USAGE
  $ ccpack COMMAND
...

Commands

ccpack dev

start ccpack project in development mode

USAGE
  $ ccpack dev

OPTIONS
  -a, --autostart=autostart  autostart filename
  -h, --help                 show CLI help
  -i, --id=id                (required)
  -s, --source=source        [default: dist]

EXAMPLES
  $ ccpack dev -id idflag
  execute following to run project:
    wget run https://idflag.loca.lt/loader <filename>

  $ ccpack dev -a index.lua
  execute following to run project:
    wget run https://<idflag>.loca.lt/loader index.lua

See code: src/commands/dev.ts

ccpack help [COMMAND]

display help for ccpack

USAGE
  $ ccpack help [COMMAND]

ARGUMENTS
  COMMAND  command to show help for

OPTIONS
  --all  see all commands in CLI

See code: @oclif/plugin-help

ccpack init FOLDER

initialize ccpack project

USAGE
  $ ccpack init FOLDER

OPTIONS
  -h, --help  show CLI help

EXAMPLE
  $ ccpack init

See code: src/commands/init.ts

更多

友情链接

    我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
    原文