This is the frontend @cast and @main of Comonicon.

The @main command will use generate the following functions in the module:

  1. the entry function for CLI command_main.
  2. comonicon_install: for command build and installation.
  3. comonicon_install_path: for path build and installation.
  4. julia_main: for building standalone applications.

And a registry constant CASTED_COMMANDS in the module, one can find the original Comonicon AST by indexing CASTED_COMMANDS by your command name.


Modules = [Comonicon]