armpicom.infrastructure.cli.setup.keys module¶
- Module
keys.py
- Copyright
Copyright (C) 2017 - 2026 Vladimir Roncevic <elektron.ronca@gmail.com> armpicom 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. armpicom 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 armpicom.infrastructure.cli.setup.keys.CLIBundleKeys[source]¶
Bases:
objectRuntime 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'¶