sh_cpl/src/cpl_cli/cli_settings.py

18 lines
496 B
Python
Raw Normal View History

2021-03-16 18:28:31 +01:00
import traceback
from typing import Optional
2021-08-05 14:21:42 +02:00
from cpl_core.configuration.configuration_model_abc import ConfigurationModelABC
from cpl_core.console.console import Console
2021-03-16 18:28:31 +01:00
from cpl_cli.cli_settings_name_enum import CLISettingsNameEnum
class CLISettings(ConfigurationModelABC):
2023-04-04 23:19:59 +02:00
def __init__(self, pip_path: str = None):
2021-03-16 18:28:31 +01:00
ConfigurationModelABC.__init__(self)
2023-04-04 23:19:59 +02:00
self._pip_path: Optional[str] = pip_path
2021-03-16 18:28:31 +01:00
@property
def pip_path(self) -> str:
return self._pip_path