Build

The build command consists of a few different flows depending on the platform being worked on.

Common code can be found here.

The following is for the entrypoint into the build command.

Entry points for the relenv build CLI command.

relenv.build.main(args: Namespace) None

The entrypoint to the build command.

Parameters:

args (argparse.Namespace) – The arguments to the command

relenv.build.platform_module() ModuleType

Return the right module based on sys.platform.

relenv.build.setup_parser(subparsers: argparse._SubParsersAction[argparse.ArgumentParser]) None

Setup the subparser for the build command.

Parameters:

subparsers (argparse._SubParsersAction) – The subparsers object returned from add_subparsers