{"action":"created","issue":{"url":"https://api.github.com/repos/keepassxreboot/keepassxc/issues/254","repository_url":"https://api.github.com/repos/keepassxreboot/keepassxc","labels_url":"https://api.github.com/repos/keepassxreboot/keepassxc/issues/254/labels{/name}","comments_url":"https://api.github.com/repos/keepassxreboot/keepassxc/issues/254/comments","events_url":"https://api.github.com/repos/keepassxreboot/keepassxc/issues/254/events","html_url":"https://github.com/keepassxreboot/keepassxc/pull/254","id":205022391,"number":254,"title":"Feature : keepassxc CLI","user":{"login":"louib","id":3301383,"avatar_url":"https://avatars0.githubusercontent.com/u/3301383?v=3","gravatar_id":"","url":"https://api.github.com/users/louib","html_url":"https://github.com/louib","followers_url":"https://api.github.com/users/louib/followers","following_url":"https://api.github.com/users/louib/following{/other_user}","gists_url":"https://api.github.com/users/louib/gists{/gist_id}","starred_url":"https://api.github.com/users/louib/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/louib/subscriptions","organizations_url":"https://api.github.com/users/louib/orgs","repos_url":"https://api.github.com/users/louib/repos","events_url":"https://api.github.com/users/louib/events{/privacy}","received_events_url":"https://api.github.com/users/louib/received_events","type":"User","site_admin":false},"labels":[{"id":455988894,"url":"https://api.github.com/repos/keepassxreboot/keepassxc/labels/new%20feature","name":"new feature","color":"0052cc","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/keepassxreboot/keepassxc/milestones/2","html_url":"https://github.com/keepassxreboot/keepassxc/milestone/2","labels_url":"https://api.github.com/repos/keepassxreboot/keepassxc/milestones/2/labels","id":2157835,"number":2,"title":"v2.2.0","description":"Release that will incorporate major GUI improvements and additional OS integrations","creator":{"login":"droidmonkey","id":2809491,"avatar_url":"https://avatars1.githubusercontent.com/u/2809491?v=3","gravatar_id":"","url":"https://api.github.com/users/droidmonkey","html_url":"https://github.com/droidmonkey","followers_url":"https://api.github.com/users/droidmonkey/followers","following_url":"https://api.github.com/users/droidmonkey/following{/other_user}","gists_url":"https://api.github.com/users/droidmonkey/gists{/gist_id}","starred_url":"https://api.github.com/users/droidmonkey/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/droidmonkey/subscriptions","organizations_url":"https://api.github.com/users/droidmonkey/orgs","repos_url":"https://api.github.com/users/droidmonkey/repos","events_url":"https://api.github.com/users/droidmonkey/events{/privacy}","received_events_url":"https://api.github.com/users/droidmonkey/received_events","type":"User","site_admin":false},"open_issues":48,"closed_issues":34,"state":"open","created_at":"2016-11-25T15:22:58Z","updated_at":"2017-02-28T13:31:52Z","due_on":null,"closed_at":null},"comments":6,"created_at":"2017-02-02T22:57:08Z","updated_at":"2017-02-28T19:17:01Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/keepassxreboot/keepassxc/pulls/254","html_url":"https://github.com/keepassxreboot/keepassxc/pull/254","diff_url":"https://github.com/keepassxreboot/keepassxc/pull/254.diff","patch_url":"https://github.com/keepassxreboot/keepassxc/pull/254.patch"},"body":"Adding a single point of entry for the command line interface. I still need to add the available commands when calling the program without a command name. The other utils could also be migrated to the new directory.\r\n\r\nAlso fixes 2 things:\r\n* The programs were not exiting if the `Crypto::init()` call was failing.\r\n* The merge program was returning `1` even though it succeeded.\r\n\r\n## Motivation and Context\r\nAddresses https://github.com/keepassxreboot/keepassxc/issues/201\r\n\r\n## How Has This Been Tested?\r\nLocally, by testing the 2 programs migrated.\r\n\r\n## Screenshots (if appropriate):\r\n```bash\r\n$ src/cli/keepassxc-cli extract\r\nUsage: keepassxc-cli extract database\r\nExtract and print a KeePassXC database file.\r\n\r\nArguments:\r\n  database path of the database to extract.\r\n```\r\n```bash\r\n$ src/cli/keepassxc-cli merge\r\nUsage: keepassxc-cli merge [options] database1 database2\r\nMerge 2 KeePassXC database files.\r\n\r\nOptions:\r\n  -s, --same-password  use the same password for both database files.\r\n\r\nArguments:\r\n  database1            path of the database to merge into.\r\n  database2            path of the database to merge from.\r\n```\r\n\r\n```bash\r\n$ src/cli/keepassxc-cli\r\nUsage: src/cli/keepassxc-cli [options] command\r\nKeepassXC command line interface.\r\n\r\nOptions:\r\n  -h, --help     Displays this help.\r\n  -v, --version  Displays version information.\r\n\r\nArguments:\r\n  command        Name of the command to execute.\r\n```\r\n\r\n```bash\r\n$ src/cli/keepassxc-cli -v\r\nkeepassxc-cli 2.1.0\r\n```\r\n\r\n```bash\r\n$ src/cli/keepassxc-cli -h\r\nUsage: src/cli/keepassxc-cli [options] command\r\nKeepassXC command line interface.\r\n\r\nOptions:\r\n  -h, --help     Displays this help.\r\n  -v, --version  Displays version information.\r\n\r\nArguments:\r\n  command        Name of the command to execute.\r\n```\r\n\r\n```bash\r\n$ src/cli/keepassxc-cli fdsfsd\r\nInvalid command fdsfsd.\r\nUsage: src/cli/keepassxc-cli [options] command\r\nKeepassXC command line interface.\r\n\r\nOptions:\r\n  -h, --help     Displays this help.\r\n  -v, --version  Displays version information.\r\n\r\nArguments:\r\n  command        Name of the command to execute.\r\n```\r\n\r\n## Types of changes\r\n<!--- What types of changes does your code introduce? -->\r\n<!--- Please remove all lines which don't apply. -->\r\n- ✅ New feature (non-breaking change which adds functionality)\r\n- ✅ Breaking change (fix or feature that would cause existing functionality to change)\r\n\r\n## Checklist:\r\n<!--- Please go over all the following points. -->\r\n<!--- Again, remove any lines which don't apply. -->\r\n<!--- Pull Requests that don't fulfill all [REQUIRED] requisites are likely -->\r\n<!--- to be sent back to you for correction or will be rejected.  -->\r\n- ✅ I have read the **CONTRIBUTING** document.\r\n- ✅ My code follows the code style of this project.\r\n- ✅ All new and existing tests passed.\r\n- X My change requires a change to the documentation and I have updated it accordingly."},"comment":{"url":"https://api.github.com/repos/keepassxreboot/keepassxc/issues/comments/283135107","html_url":"https://github.com/keepassxreboot/keepassxc/pull/254#issuecomment-283135107","issue_url":"https://api.github.com/repos/keepassxreboot/keepassxc/issues/254","id":283135107,"user":{"login":"TheZ3ro","id":686894,"avatar_url":"https://avatars3.githubusercontent.com/u/686894?v=3","gravatar_id":"","url":"https://api.github.com/users/TheZ3ro","html_url":"https://github.com/TheZ3ro","followers_url":"https://api.github.com/users/TheZ3ro/followers","following_url":"https://api.github.com/users/TheZ3ro/following{/other_user}","gists_url":"https://api.github.com/users/TheZ3ro/gists{/gist_id}","starred_url":"https://api.github.com/users/TheZ3ro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TheZ3ro/subscriptions","organizations_url":"https://api.github.com/users/TheZ3ro/orgs","repos_url":"https://api.github.com/users/TheZ3ro/repos","events_url":"https://api.github.com/users/TheZ3ro/events{/privacy}","received_events_url":"https://api.github.com/users/TheZ3ro/received_events","type":"User","site_admin":false},"created_at":"2017-02-28T19:17:01Z","updated_at":"2017-02-28T19:17:01Z","body":"Any news here?"}}
{"actor":{"display_login":"TheZ3ro"}}