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

update tbot init error message #50537

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

stevenGravy
Copy link
Contributor

@stevenGravy stevenGravy commented Dec 22, 2024

Updates error message to be more specific that a destination dir must be configured or parameter to match the specified init dir.

If a user had no config file they get

$ tbot init --init-dir /tmp/test
ERROR: Could not find specified destination /tmp/test

This isn't clear it's looking for the dest dir as a config not whether the dir exists on the file system.

Updated to

ERROR: Initial directory "/tmp/test" must match a destination directory from the configuration file or --destination-dir parameter

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant