-
Notifications
You must be signed in to change notification settings - Fork 3
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 secrets mkdir
command
#246
Comments
UNIX Currently, we just return a success message. Instead of that, we can use duplex streaming to return an error message or success flag every time a directory is created, or we can accumulate the errors and return them in one large chunk at the end of the whole process. I would also need to make a new I need some inputs on this. |
Go with the duplex method then. Keep in mind that you may need to support making directories across multiple vaults at once. And multiple directories in a single vault must be done in a single commit in the vault. That will affect how you implement things. |
Yes, I am taking inspiration from how I handled this in |
Specification
secrets mkdir
is pretty simple, it will create a directory at the specified paths.ENOENT
-p
is specified then it will create missing parent directories.Additional context
Related #32
Tasks
secrets mkdir
command-p
flag for recursively creating directories.The text was updated successfully, but these errors were encountered: