gen_avr8.infrastructure.cli.setup.keys module

Module

keys.py

Copyright

Copyright (C) 2017 - 2026 Vladimir Roncevic <elektron.ronca@gmail.com> gen_avr8 is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. gen_avr8 is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program. If not, see <http://www.gnu.org/licenses/>.

Info

Runtime components and interface constraints for the CLI bundle.

class gen_avr8.infrastructure.cli.setup.keys.CLIBundleKeys[source]

Bases: object

Runtime components and interface constraints for the CLI bundle.

It defines:

attributes:
DEPENDENCY_SERVICE - The service interface constant of the CLI bundle.
DEPENDENCY_PARSER - The parser interface constant of the CLI bundle.
DEPENDENCY_COMMANDS - The commands constant of the CLI bundle.
OPTION_SERVICE - The service option constant of the CLI bundle.
OPTION_PARSER - The parser option constant of the CLI bundle.
methods:
get_dependency_to_type - Returns the mapping of the CLI bundle dependencies to their types.
get_option_to_type - Returns the mapping of the CLI bundle options to their types.
DEPENDENCY_COMMANDS: ClassVar[str] = 'commands'
DEPENDENCY_PARSER: ClassVar[str] = 'parser'
DEPENDENCY_SERVICE: ClassVar[str] = 'service'
OPTION_PARSER: ClassVar[str] = 'parser'
OPTION_SERVICE: ClassVar[str] = 'service'
classmethod get_dependency_to_type() MappingProxyType[source]

Returns the mapping of the CLI bundle dependencies to their types.

Returns:

The mapping of the CLI bundle dependencies to their types.

Exceptions:

None.

classmethod get_option_to_type() MappingProxyType[source]

Returns the mapping of the CLI bundle options to their types.

Returns:

The mapping of the CLI bundle options to their types.

Exceptions:

None.