taucmdr.cli.commands.target.create module¶
target create subcommand.
-
class
taucmdr.cli.commands.target.create.TargetCreateCommand(*args, **kwargs)[source]¶ Bases:
taucmdr.cli.cli_view.CreateCommandtarget createsubcommand.-
_get_compiler_from_defaults(kbase, role)[source]¶ Use model defaults and preferred family to fill this role.
-
_get_compiler_from_env(role)[source]¶ If compiler environment variable set (e.g. CC) use that value to fill this role.
-
_get_compiler_from_sibling(role, sibling)[source]¶ If we know a compiler sibling then use its family information to fill this role.
-
main(argv)[source]¶ Command program entry point.
Parameters: argv (list) – Command line arguments. Returns: Process return code: non-zero if a problem occurred, 0 otherwise Return type: int
-
parse_compiler_flags(args)[source]¶ Create a dictionary of
InstalledCompilerinstances from commandl line arguments.Parameters: args – A namespace of parsed command line arguments. Returns: InstalledCompiler instances indexed by role keyword. Return type: dict
-
