Commands

There are two main commands: build and run.

We need to pay attention to the flags of each command, which affect the actual performance of the command.

build

We can build a single .aqr file or a direcory.

zhoudefa@DefaBook aquarius % ./bin/aqr build ./ext/test/test.aqr

run

Let's run the aquarius.

zhoudefa@DefaBook aquarius % ./bin/aqr run ./ext/test/test.aqr

help

More commands, please call --help for details.

zhoudefa@DefaBook aquarius % ./bin/aqr --help
NAME:
   aquarius(aqr) - aquarius is a funny script.

USAGE:
   aqr [global options] command [command options] [arguments...]

AUTHOR:
   Defa Zhou <zhoudefa666@163.com>

COMMANDS:
   version  show aquarius version
   build    build aquarius source code to binary
   run      execute an aquarius file

GLOBAL OPTIONS:
   --help, -h  show help (default: false)