Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(cli): Add get_platform() on cli prompt to know which platform lu… #70

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion lume/src/application/cli/lume.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@

from lume import __version__
from lume.config import Config
from lume.config.check_os_list_or_str_item import get_platform
from lume.config.config_file_not_found_error import ConfigFileNotFoundError
from lume.config.config_file_not_valid_error import ConfigFileNotValidError
from lume.config.required_env_error import RequiredEnvError
Expand Down Expand Up @@ -136,7 +137,7 @@ def check_command_availability(strict_mode, not_known, parser, config_file) -> R

def main():
start = time.time()
header = f" 🔥 lume {__version__} ({platform.system()} -- Python {platform.python_version()}) "
header = f" 🔥 lume {__version__} ({get_platform()} -- Python {platform.python_version()}) "
columns = shutil.get_terminal_size().columns
print(header.center(columns - 10, "="))
result = isFailure
Expand Down