ComoniconBuilder.cmd_scriptMethod
cmd_script(mod, shadow; kwargs...)

Generates a shell script that can be use as the entry of mod.command_main.

Arguments

  • mod: a module that contains the commands and the entry.
  • shadow: location of a Julia script that calls the actual mod.command_main.

Keywords

  • exename: The julia executable name, default is default_exename.
  • sysimg: System image to use, default is nothing.
  • project: the project path of the CLI.
  • compile: julia compile level, can be [:yes, :no, :all, :min]
  • optimize: julia optimization level, default is 2.