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

CLI should create directories when adding entries #2508

Open
droidmonkey opened this issue Nov 25, 2018 · 4 comments
Open

CLI should create directories when adding entries #2508

droidmonkey opened this issue Nov 25, 2018 · 4 comments
Assignees
Milestone

Comments

@droidmonkey
Copy link
Member

droidmonkey commented Nov 25, 2018

Expected Behavior

When the add command is used, if a directory does not exist in the path provided, then the CLI should prompt to create the directory for you

keepassxc-cli add mydb.kdbx "/New Directory/New Entry"

Current Behavior

It is impossible to create or remove directories from the CLI.

Debug Info

KeePassXC - 2.4.0-Snapshot
Windows 10

@louib
Copy link
Member

louib commented Nov 26, 2018

@droidmonkey maybe that should be an option, just like -p for mkdir??

       -p, --parents
              no error if existing, make parent directories as needed

@droidmonkey
Copy link
Member Author

Yeah good idea

@droidmonkey
Copy link
Member Author

@louib I think we implemented this, correct?

@louib
Copy link
Member

louib commented Mar 21, 2022

@droidmonkey not that I'm aware of

@droidmonkey droidmonkey added this to the v2.8.0 milestone Mar 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants