cpl_cli.configuration

cpl_cli.configuration.build_settings module

class cpl_cli.configuration.build_settings.BuildSettings

Bases: cpl.configuration.configuration_model_abc.ConfigurationModelABC

property entry_point
property excluded
from_dict(settings: dict)

Converts attributes to dict :param settings: :return:

property include_package_data
property included
property main
property output_path
property package_data
property project_references
property project_type
property source_path

cpl_cli.configuration.build_settings_name_enum module

class cpl_cli.configuration.build_settings_name_enum.BuildSettingsNameEnum(value)

Bases: enum.Enum

An enumeration.

entry_point = 'EntryPoint'
excluded = 'Excluded'
include_package_data = 'IncludePackageData'
included = 'Included'
main = 'Main'
output_path = 'OutputPath'
package_data = 'PackageData'
project_references = 'ProjectReferences'
project_type = 'ProjectType'
source_path = 'SourcePath'

cpl_cli.configuration.project_settings module

class cpl_cli.configuration.project_settings.ProjectSettings

Bases: cpl.configuration.configuration_model_abc.ConfigurationModelABC

property author
property author_email
property classifiers
property copyright_date
property copyright_name
property dependencies
property description
from_dict(settings: dict)

Converts attributes to dict :param settings: :return:

property license_description
property license_name
property long_description
property name
property python_executable
property python_path
property python_version
property url
property version

cpl_cli.configuration.project_settings_name_enum module

class cpl_cli.configuration.project_settings_name_enum.ProjectSettingsNameEnum(value)

Bases: enum.Enum

An enumeration.

author = 'Author'
author_email = 'AuthorEmail'
classifiers = 'Classifiers'
copyright_date = 'CopyrightDate'
copyright_name = 'CopyrightName'
dependencies = 'Dependencies'
description = 'Description'
license_description = 'LicenseDescription'
license_name = 'LicenseName'
long_description = 'LongDescription'
name = 'Name'
python_path = 'PythonPath'
python_version = 'PythonVersion'
url = 'URL'
version = 'Version'

cpl_cli.configuration.project_type_enum module

class cpl_cli.configuration.project_type_enum.ProjectTypeEnum(value)

Bases: enum.Enum

An enumeration.

console = 'console'
library = 'library'

cpl_cli.configuration.settings_helper module

class cpl_cli.configuration.settings_helper.SettingsHelper

Bases: object

static get_build_settings_dict(build: cpl_cli.configuration.build_settings.BuildSettings)dict
static get_project_settings_dict(project: cpl_cli.configuration.project_settings.ProjectSettings)dict

cpl_cli.configuration.version_settings module

class cpl_cli.configuration.version_settings.VersionSettings(major: Optional[str] = None, minor: Optional[str] = None, micro: Optional[str] = None)

Bases: cpl.configuration.configuration_model_abc.ConfigurationModelABC

from_dict(settings: dict)

Converts attributes to dict :param settings: :return:

property major
property micro
property minor
to_dict()dict
to_str()str

cpl_cli.configuration.version_settings_name_enum module

class cpl_cli.configuration.version_settings_name_enum.VersionSettingsNameEnum(value)

Bases: enum.Enum

An enumeration.

major = 'Major'
micro = 'Micro'
minor = 'Minor'

cpl_cli.configuration.workspace_settings module

class cpl_cli.configuration.workspace_settings.WorkspaceSettings

Bases: cpl.configuration.configuration_model_abc.ConfigurationModelABC

property default_project
from_dict(settings: dict)

Converts attributes to dict :param settings: :return:

property projects

cpl_cli.configuration.workspace_settings_name_enum module

class cpl_cli.configuration.workspace_settings_name_enum.WorkspaceSettingsNameEnum(value)

Bases: enum.Enum

An enumeration.

default_project = 'DefaultProject'
projects = 'Projects'