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

Feature: Specify output directory in CLI #56

Open
schneems opened this issue Jul 8, 2024 · 0 comments
Open

Feature: Specify output directory in CLI #56

schneems opened this issue Jul 8, 2024 · 0 comments

Comments

@schneems
Copy link
Member

schneems commented Jul 8, 2024

After rundoc is finished running, it copies the contents to a folder. It would be nice to be able to specify which one in the command line like rundoc build --path <rundoc.md> --output-dir ./lol.

I think we also want to be safe about it, i.e. check that the contents of that directory won't be over-written before writing there so if someone accidentally runs --output-dir /usr/local or something it won't bork the whole computer. It should check if the directory is empty first and error if it's not. It should create it if it does not exist.

Likewise we should also have a --debug-dir configuration (naming?, this is effectively what tmp is now), but default it to the same root location as the output dir but with tmp/.

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

No branches or pull requests

1 participant