mloq.commands.license#

Mloq license command implementation.

Module Contents#

Classes#

LicenseCMD

Implement the functionality of the license Command.

Attributes#

TEMPLATES_PATH

dco

mit_license

apache_license

gpl_license

LICENSES

LICENSE_FILES

mloq.commands.license.TEMPLATES_PATH#
mloq.commands.license.dco#
mloq.commands.license.mit_license#
mloq.commands.license.apache_license#
mloq.commands.license.gpl_license#
mloq.commands.license.LICENSES#
mloq.commands.license.LICENSE_FILES#
class mloq.commands.license.LicenseCMD(record, interactive=False, **kwargs)[source]#

Bases: mloq.command.Command

Implement the functionality of the license Command.

Parameters
  • record (mloq.writer.CMDRecord) –

  • interactive (bool) –

cmd_name = license#
files#
LICENSES#
disable#
license#
copyright_year#
copyright_holder#
project_name#
project_url#
email#
interactive_config()[source]#

Generate the configuration of the project interactively.

Return type

omegaconf.DictConfig

record_files()[source]#

Register the files that will be generated by mloq.

Return type

None