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

feat!: rework input argument flags #34

Closed
wants to merge 1 commit into from
Closed

feat!: rework input argument flags #34

wants to merge 1 commit into from

Conversation

dundargoc
Copy link
Collaborator

Remove --dir flag as it's confusing to use.
Adjust --outdir to create the directory name if it doesn't exist.
Remove --file flag and make the filename a required input.

Remove `--dir` flag as it's confusing to use.
Adjust `--outdir` to create the directory name if it doesn't exist.
Remove `--file` flag and make the filename a required input.
@dundargoc dundargoc marked this pull request as ready for review September 15, 2023 13:24
@tjdevries
Copy link
Owner

Hmmm, i don't think this handles everything we were handling before.

The main problem is that we have to generate things differently for autoload code vs regular runtime files, so there is some initial handling of that in the previous version that is lost.

@dundargoc
Copy link
Collaborator Author

Fair, but I also suspect that the --dir flag doesn't work or that it has a super special setup, and I think we need to rework it somehow. Would having a --mode or --type flag to specify the type of script work?

@dundargoc dundargoc marked this pull request as draft September 16, 2023 11:53
@dundargoc dundargoc closed this Sep 23, 2023
@dundargoc dundargoc deleted the flags branch September 23, 2023 13:25
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