Skip to content

Add --log-dir option to the CLI #140

@andersy005

Description

@andersy005

Currently, if neither of $TMPDIR and $HOME environment variables are defined on the remote machine, we terminate the connection and exit. We should allow users to override this behavior via a --log-dir option.

tmp_dir_error_message = '$TMPDIR is not defined'
home_dir_error_message = '$HOME is not defined'
console.print(
f'[bold red]Can not determine directory for log file:\n{home_dir_error_message}\n{tmp_dir_error_message}'
)
sys.exit(1)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    Status

    🌳 Todo

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions