Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[feat] use clap Derive API to accept command line arguments (#247)
* [feat] Use clap derive API to parse CLI arguments This patch removes the usage of clap::Command and arg macros, and bumps the library version to use the new derive API which is the recommended method upstream. Signed-off-by: innocentzero <[email protected]> * [feat] Use clap derive API to parse CLI arguments This patch follows the previous one to update the method of taking arguments for swhks. The derive API is the recommended method upstream. Signed-off-by: innocentzero <[email protected]> * [fix] separate default cooldown to a separate variable Signed-off-by: innocentzero <[email protected]> * [fix]: conflicting short options in swhkd This patch fixes the conflicting short options in swhkd and implements alternative short option forms. Signed-off-by: innocentzero <[email protected]> * [fix] Swap short options for config and cooldown This change is meant to make the changes backwards compatible for the user. Signed-off-by: innocentzero <[email protected]> * [fix] Apply env refactoring to swhkd Signed-off-by: innocentzero <[email protected]> --------- Signed-off-by: innocentzero <[email protected]>
- Loading branch information