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

🧑‍💻 UX for Init command + remove unnecessary code #122

Closed
wants to merge 2 commits into from

Conversation

lukacan
Copy link
Collaborator

@lukacan lukacan commented Feb 10, 2024

Currently, it is possible to call trdelnik init while trdelnik is already initialized within the project directory. This PR checks if int the root directory Trdelnik.toml already exists, if so initialization is halted.

Also, this PR removes unnecessary root discovery -> TestGenerator is initialized with the already discovered root

@lukacan lukacan requested a review from Ikrk February 10, 2024 16:56
@Ikrk
Copy link
Contributor

Ikrk commented Feb 15, 2024

Is it a problem, that you can reinitialize the project? What if the initialization is interrupted (for any reason) and was incomplete (but Trdelnik.toml was created)? It would make sense to run it again no?

@Ikrk
Copy link
Contributor

Ikrk commented Feb 15, 2024

Or another case - someone was using old Trdelnik versions and would like to use the fuzzer now. It would be nice to have the option to reinitialize the framework to add the latest changes...

@lukacan
Copy link
Collaborator Author

lukacan commented Feb 28, 2024

Resolved in #129

@lukacan lukacan closed this Feb 28, 2024
@lukacan lukacan deleted the UX/improve-init-experience branch February 28, 2024 08:21
This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants