mirror of
https://gitflic.ru/project/dbi471/git-switch.git
synced 2026-10-27 22:40:15 +00:00
Refactored help
This commit is contained in:
1 parent
cd67ef7117
commit
e3842436b3
1 file changed
+1
-1
@@ -181,10 +181,10 @@ class GitSwitch:
|
|||||||
@click.command()
|
@click.command()
|
||||||
@click.option("--gf_token", help="Your GitFlic token.", type=str, required=True)
|
@click.option("--gf_token", help="Your GitFlic token.", type=str, required=True)
|
||||||
@click.option("--gh_token", help="Your GitHub token.", type=str, required=True)
|
@click.option("--gh_token", help="Your GitHub token.", type=str, required=True)
|
||||||
@click.option("--clone_folder", help="Directory where to download repositories.", default="./cloned-repos", required=False)
|
|
||||||
@click.option("--apply_private", help="Need to copy private repositories?", default=False, required=False)
|
@click.option("--apply_private", help="Need to copy private repositories?", default=False, required=False)
|
||||||
@click.option("--apply_organisations", help="Need to copy organisations repositories?", default=False, required=False)
|
@click.option("--apply_organisations", help="Need to copy organisations repositories?", default=False, required=False)
|
||||||
@click.option("--use_ssh", help="Use SSH mode to upload repositories.", default=False, required=False)
|
@click.option("--use_ssh", help="Use SSH mode to upload repositories.", default=False, required=False)
|
||||||
|
@click.option("--clone_folder", help="Directory where to download repositories.", default="./cloned-repos", required=False)
|
||||||
def main(**kwargs):
|
def main(**kwargs):
|
||||||
log.info("New log start.")
|
log.info("New log start.")
|
||||||
log.info(f"Local time: {time.asctime()}")
|
log.info(f"Local time: {time.asctime()}")
|
||||||
|
|||||||
Reference in new issue
Block a user