MAGE - Development Automation

Run ./bin/mage to list your tasks. All of them support -h to learn more and show examples.

All tasks support a -h option and will print their usage info.

$ ./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 Autocomplete

Run ./bin/mage setup-autocomplete and follow the instructions to setup autocomplete in your terminal.

Read docs for other versions of Metabase.