Title: aah CLI Tool Desc: aah CLI tool is development buddy for developers to take advantage aah capabilities. Keywords: aah CLI tool, ClI tool, hot-reload, cross compile, commands, run, new, build, version, list, clean, generate, migrate, switch, update
aah CLI it's a very handy tool for development, Continuous Integration (CI) and deployment preparation.
aah CLI is fully POSIX compliant flags (includes short and long versions) and command aliases too.
The best way to learn about aah CLI commands is to run aah help
and explore further:
- For command -
aah help <command>
- Also for sub-commands -
aah <command> help
oraah <command> help <sub-command>
It's an interactive program that will make generate skeleton code to assist you to quick start aah application. It supports web
, api
or websocket
types.
Runs aah application. It supports hot-reload (just code and refresh the browser to see your updates).
Runs aah application console command. It's a handy development command to run user-defined console commands from aah CLI.
Builds aah application for deployment. It supports single
& non-single
binary. Learn more about trade-off of build packaging.
It helps you view/discover all the aah application projects on your System. It automatically learns about new aah project when created via aah new
and you can also teach it via aah list --scan /base/dir/to/scan/aah-projects
.
Cleans the aah generated files and build directory. Might be helpful once in a while.
Increases productivity and helps developer on tedious tasks during application development - such as boilerplate code, configuration files, complementary scripts (systemd, docker), etc.
Currently it only supports complementary script generation. Remaining items are upcoming 😄.
This command will auto-migrate your aah code - it should be run everytime we release a new version of aah framework, to make your code work and be compatible with the new aah version.
Of-course name speaks for itself.
Set environment variables GOOS
and GOARCH
before executing aah build
command. List of available GOOS and GOARCH values, click here.
# Use `aah help build` to learn more
env GOOS=linux GOARCH=amd64 aah build --single --output /Users/jeeva/build
# Output:
...
Application artifact is here: /Users/jeeva/build/myapp-99bf7df-linux-amd64.zip
# Use `aah help build` to learn more
env GOOS=windows GOARCH=amd64 aah build --output /Users/jeeva/build
# Output:
...
Application artifact is here: /Users/jeeva/build/myapp-99bf7df-windows-amd64.zip
AAHPATH
environment variable was introduced in v0.11.0.
- It is step towards aah CLI binary distribution. Also
v0.11.0
includes Homebrew channel
# `AAHPATH` default value is -
$HOME/.aah