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

Add command-line options like --help and --version ... #682

Open
evan0greenup opened this issue Jul 17, 2024 · 2 comments
Open

Add command-line options like --help and --version ... #682

evan0greenup opened this issue Jul 17, 2024 · 2 comments

Comments

@evan0greenup
Copy link

Currently, notes is only a executable without any command-line options supports.

It would be nice to add argument parser in main.cpp to parse option like notes profile path ...

This would make this app more customizable.

@stevenleeS0ht
Copy link
Contributor

This feature could be done with QCommandLineParser https://doc.qt.io/qt-6/qcommandlineparser.html.

For custom profile path, how about add option --profile just like how firefox do?

@evan0greenup

@evan0greenup
Copy link
Author

@stevenleeS0ht , it looks good to me. How about @nuttyartist opinion?

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

3 participants