Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This implements only the part for the
new
command, the directory argument and sets up the tooling for the rest I guess.I was spending way too much time pondering in front of my monitor for the rest. Didn't really want to ask too many questions but I guess I was not moving at all so I will ask. I am very confused about all the path options there is in the
Hix.Optparse
module. Why some paths are expected to be relative, some other absolute and some other absolute or cwd? Can't they all be absolute or relative to the cwd?Can't all these and all these be reduced to just a
pathUserOption
to be resolved later as introduced in this PR (or the sum type you suggested previously if we need for the tests later)?