mloq.commands.globals#

Mloq globals command implementation.

Module Contents#

Classes#

GlobalsCMD

Implement the functionality of the globals Command.

class mloq.commands.globals.GlobalsCMD(record, interactive=False, **kwargs)[source]#

Bases: mloq.command.Command

Implement the functionality of the globals Command.

Parameters
  • record (mloq.writer.CMDRecord) –

  • interactive (bool) –

cmd_name = globals#
project_name#
description#
author#
owner#
email#
open_source#
project_url#
default_branch#
license#
use_poetry#
main_python_version#
interactive_config()[source]#

Generate the configuration of the project interactively.

Return type

omegaconf.DictConfig

parse_config()[source]#

Generate the configuration of the project via a configuration file.

Return type

omegaconf.DictConfig