{"push_id":2621611057,"size":1,"distinct_size":1,"ref":"refs/heads/master","head":"b9b46172c4f7ac1aa2a42ff8b0fceb24ef03ed68","before":"1b5aba204e0e8b3ae85d467abd42e0478bea99df","commits":[{"sha":"b9b46172c4f7ac1aa2a42ff8b0fceb24ef03ed68","author":{"name":"Sijie Guo","email":"1f0a072942b5a6a61c5ea946a8ff638685cedd4a@apache.org"},"message":"Update the new bookkeeper tools to use the new framework\n\nDescriptions of the changes in this PR:\n\n*Motivation*\n\n#1471  introduces a new tools framework based on jcommander. This PR is changing the new bookkeeper-tools to leverage that framework.\n\n*Solution*\n\n- Changed the related classes to use the new framework.\n- Rename `BookKeeperCLI` to `BKCtl` and `bookkeeper-cli` to `bkctl`\n- Use service loader to load command groups to allow better extensibility\n- Rename command group `cluster` to `bookies`\n\n*Results*\n\nExample output of this change:\n\n```\n$ bin/bkctl\nbkctl interacts and operates Apache BookKeeper clusters\n\nUsage:  bkctl [flags] [command group] [commands]\n\nCommands:\n\n    bookie      Commands on operating a single bookie\n    bookies     Commands on operating a cluster of bookies\n    ledger      Commands on interacting with ledgers\n\n    help        Display help information about it\n\nFlags:\n\n    -c, --conf\n        Configuration file\n\n    -u, --service-uri\n        Service Uri\n\n    -h, --help\n        Display help information\n\nUse \"bkctl [command] --help\" or \"bkctl help [command]\" for more information\nabout a command\n```\n\n*sub command*\n```\n$ bin/bkctl help bookie\nCommands on operating a single bookie\n\nUsage:  bkctl bookie [command] [command options]\n\nCommands:\n\n    lastmark        Print last log marker\n\n    help            Display help information about it\n\nUse \"bkctl bookie [command] --help\" or \"bkctl bookie help [command]\" for more\ninformation about a command\n```\n\n*sub-sub command*\n\n```\n$ bin/bkctl bookie help lastmark\nPrint last log marker\n\nUsage:  bkctl bookie lastmark [flags]\n\nFlags:\n\n    -h, --help\n        Display help information\n```\n\nAuthor: Sijie Guo <sijie@apache.org>\n\nReviewers: Jia Zhai <None>\n\nThis closes #1478 from sijie/bkctl_tools","distinct":true,"url":"https://api.github.com/repos/apache/bookkeeper/commits/b9b46172c4f7ac1aa2a42ff8b0fceb24ef03ed68"}]}
{"actor":{"display_login":"sijie"}}