-
Notifications
You must be signed in to change notification settings - Fork 14
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
Implement mktemp
functionality in Web5 CLI
#387
Comments
before picking this up, i'm just curious what the use-case for this command being in this CLI is versus just using the unix |
I'm going to ping @KendallWeihe to get his opinion on this! I made the issue based on a wish list he wrote but perhaps he can expand more on the goals! |
Trying to think back... yeah we don't want to reinvent the wheel and re-implement the |
oops that was my b! @KendallWeihe thanks for clariying! |
@KendallWeihe is the idea of adding an output flag that it adds a consistent way that works on unix-based and windows systems for saving to a file since on linux saving to a file could just be done by redirecting stdout to a file? |
Great point honestly. And yeah I think there is some marginal value to providing a first-class feature for file creation instead of relying on the developer to use their native systems file concatenation syntax, but it's definitely marginal. IMO it's a nice feature to have but arguably not a super high priority. |
well if it's still desired to work on, i can do the work. shouldn't take long at all. |
Yeah let's do it! |
.take |
Thanks for taking this issue! Let us know if you have any questions! |
Implement
mktemp
functionality in Web5 CLI🚀 Goal
Add
mktemp
functionality to the Web5 Rust CLI to allow users to create temporary files and directories securely.🔑 Tasks
web5 mktemp [OPTIONS]
)mktemp
functionality:mktemp
commandmktemp
usage to the CLI help text🌟 Resources
⚡ Getting Started
mktemp
functionalityImplementation Ideas
tempfile
crate for robust temporary file handling:std::env::temp_dir()
to get the system's temp directory:💭 Questions?
If you have any questions or need clarification, please comment on this issue or join our Discord community.
Happy coding! 🎉
The text was updated successfully, but these errors were encountered: