program
.command('merge-request')
.alias('mr')
.legacy('create-merge-request')
.option('-b, --base [optional]', 'Base branch name')
.option('-t, --target [optional]', 'Target branch name')
.option('-m, --message [optional]', 'Title of the merge request')
.option('-a, --assignee [optional]', 'User to assign merge request to')
.option('-l, --labels [optional]', 'Comma separated list of labels to assign while creating merge request')
.option('-r, --remove_source_branch [optional]', 'Flag indicating if a merge request should remove the source branch when merging')
.option('-s, --squash [optional]', 'Squash commits into a single commit when merging')
.option('-e, --edit [optional]', 'If supplied opens edit page of merge request. Prints the merge request URL otherwise')
.option('-o, --open [optional]', 'If supplied open the page of the merge request. Prints the merge request URL otherwise')
.option('-p, --print [deprecated]', 'Doesn\`t do anything. Kept here for backward compatibility. Default is print.')
.option('-v, --verbose [optional]', 'Detailed logging emitted on console for debug purpose')
.description('Create merge request on gitlab')
.action(function (options) {
createMergeRequest(options);
});