翻译:
CLI 帮助您的本地开发环境,测试和更多。 拿着 看这个 文档。 。 。 .
维护模式
Compas处于维护状态. 软件包将保留给 可预见的未来。 可能增加一些新功能,但有些功能也将删除 有利于其他生态系统可用的图书馆。 请不要开始新的项目 使用Compas.
参考文献
全文请参看
文档。下面是简短的
引用,通过 compas help。 。 。 .
Usage: compas COMMAND
The Compas CLI
Unified backend tooling.
Examples:
- compas docker up
- compas lint --jsdoc
- compas visualise erd --generated-directory ./src/generated
References:
- Docs: https://compasjs.com
- Source: https://github.com/compasjs/compas
- Issues: https://github.com/compasjs/compas/issues
Commands:
check-env Various checks helping with a better Compas experience.
code-mod Execute code-mods to help migrating to new Compas versions.
completions Configure shell auto-complete for this CLI.
docker Manage common docker components.
help Display help for any of the available commands.
init Init various files in the current project.
lint Lint all project files.
migrate Run PostgreSQL migrations via the @compas/store migration system.
run Run arbitrary JavaScript files, scripts defined in the package.json and scripts located in the scripts directory.
test Run all tests in your project.
version Print the installed Compas version and exit
visualise Visualise various code-generated structures.
watch Run the command, restarting it when file changes happen.
Flags:
-h, --help Display information about the current command. (boolean)
Run 'compas help COMMAND' for more information of a specific sub command.