-
Notifications
You must be signed in to change notification settings - Fork 3
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 sastre and tailor CLI options for apply_pr #62
Conversation
It looks very well! Maybe we can use this to add subcommands to For example:
|
- Remove redundant code with alias - Add empty command catcher
- Add all current commands into the new group - Add __doc__ to all current commands - Set CHECK_PR to DEPRECATED
- Click will use the new commands throgh "call" methods - The "apply_pr" can be imported and used from 3rd party for the following commands - apply_pr - status_pr - check_prs_status
I've updated this to work as a click group (as "sastre COMMAND ARGUMENTS [OPTIONS]")
Also encapsulated some commands so we can use them from apply_pr package:
New usage:
|
I've added a new item in the checklist to modify the |
Description
Allow to use
apply_pr
assastre
ortailor
.See
sastre --help
ortailor --help
$ sastre --help Usage: sastre [OPTIONS] Options: --owner TEXT GitHub owner name [default: gisce] --repository TEXT GitHub repository name [default: erp] --host TEXT Host to apply [required] --src TEXT Remote src path [default: /home/erp/src] --pr TEXT Pull request to apply [required] --from-number INTEGER From commit number --from-commit TEXT From commit hash (included) --force-hostname TEXT Force hostname --help Show this message and exit.
Development
sastre
andtailor
sastre
andtailor
)