Skip to content

Do not clobber existing directories when configuring workspace dir #542

@kytrinyx

Description

@kytrinyx

When configuring the nextercism CLI for the first time (e.g. when workspace_dir in the config is blank), then we should verify that the workspace directory does not exist before setting a default. If it does, then we should exit with an error message saying that the directory already exists, and that if that's the correct directory, please call the command again, explicitly adding --directory="...".

We can print the full command for them to copy (including the token, which they just gave us).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions