fre.make.fremake module
fremake is the module defining the click interfaces for the following fre make subcommands:
fre make checkout-script [ARGS]: writes a script that will clone (checkout) the model code from respective git repositories
fre make makefile [ARGS]: writes a root Makefile to compile the model.
- fre make compile-script [ARGS]: writes a compile script that generates component Makefiles
and sets the compile environment.
- fre make dockerfile [ARGS]: writes a Dockerfile and
createContainer.shscript that builds a container image containing the source code, Makefile, model executable, and its dependent libraries
- fre make dockerfile [ARGS]: writes a Dockerfile and
fre make all [ARGS]: executes the above fre make subcommands in the appropriate order to compile a model executable or container
Please see README.md at fre-cli/fre/make/README.md for a quickstart guide.
- class fre.make.fremake.OrderedGroup(name: str | None = None, commands: MutableMapping[str, Command] | Sequence[Command] | None = None, invoke_without_command: bool = False, no_args_is_help: bool | None = None, subcommand_metavar: str | None = None, chain: bool = False, result_callback: Callable[[...], Any] | None = None, **kwargs: Any)
Bases:
Group- list_commands(ctx)
Returns a list of subcommand names in the order they should appear.