Commands:
check-github-history see github work history result based on intervals...
redmine Reads issues from redmine for users defined on...
service-run Run as a service/daemon based on `service` in...
set-config Set configuration in jirasync before start using it
show-team-history see github work history for a team based on...
start-syncing sync github issues, pr, pr_reviews as jira tasks
for...
start-syncing-team sync github issues, pr, pr_reviews as jira tasks
for...
My suggestion is to change it as:
Remove the commands:
set-config (not useful anymore as config changed a lot)
start-syncing (single user command and now project is team based)
check-github-history (single user command)
Move the commands:
start-syncing-team (github specific should be under github subcommand)
show-team-history (should be under github subcommand)
this way in the final we will end with only:
Commands:
github Reads issues from github for users defined on...
redmine Reads issues from redmine for users defined on...
run Run as a standalone script
service-run Run as a service/daemon based on `service` in...
examples of use:
jirasync redmine
# reads redmine, output report, check-only mode do not write
jirasync redmine --sync
# the same as above but writes the sync data to Jira
jirasync github
# reads github, output report, check-only mode do not write
jirasync github --sync
# the same as above but writes the sync data to Jira
jirasync run redmine,github
# run both redmine and github in a single command, also accepts the `--sync` arg
jirasync service-run
# run as a daemon n a while loop
Currently
cli.py
has too many commands:https://github.com/omkarkhatavkar/jirasync/blob/master/jirasync/cli.py
My suggestion is to change it as:
Remove the commands:
Move the commands:
github
subcommand)github
subcommand)this way in the final we will end with only:
examples of use: