MAGE - 开发自动化
运行 ./bin/mage
以列出任务。所有任务都支持 -h
选项以了解更多信息和查看示例。
所有任务都支持 -h
选项,并将打印其使用信息。
$ ./bin/mage
███╗ ███╗ █████╗ ██████╗ ███████╗
████╗ ████║██╔══██╗██╔════╝ ██╔════╝
██╔████╔██║███████║██║ ███╗█████╗
██║╚██╔╝██║██╔══██║██║ ██║██╔══╝
██║ ╚═╝ ██║██║ ██║╚██████╔╝███████╗
╚═╝ ╚═╝╚═╝ ╚═╝ ╚═════╝ ╚══════╝
The Metabase Automation Genius Engine
The following tasks are available:
cljfmt-staged Runs cljfmt on staged files
kondo Runs Kondo against a file, directory, or everything we usually lint
...
start-db Start a db on a default port in docker
jar-download Given a version, downloads a metabase jar
$ ./bin/mage kondo -h
<prints help for easily running kondo>
mage 自动补全
运行 ./bin/mage setup-autocomplete
并按照说明在您的终端中设置自动补全。
阅读Metabase其他版本的文档。