| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
2 files changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -25,15 +25,15 @@ Usage | |||
| 25 | 25 | ||
| 26 | 26 | CLI Usage is as follows:: | |
| 27 | 27 | ||
| 28 | - Github Backup [-h] [-u USERNAME] [-p PASSWORD] [-t TOKEN] | ||
| 29 | - [-o OUTPUT_DIRECTORY] [--starred] [--watched] [--all] | ||
| 30 | - [--issues] [--issue-comments] [--issue-events] [--pulls] | ||
| 31 | - [--pull-comments] [--pull-commits] [--labels] [--hooks] | ||
| 32 | - [--milestones] [--repositories] [--wikis] | ||
| 33 | - [--skip-existing] [-L [LANGUAGES [LANGUAGES ...]]] | ||
| 34 | - [-N NAME_REGEX] [-H GITHUB_HOST] [-O] [-R REPOSITORY] | ||
| 35 | - [-P] [-F] [--prefer-ssh] [-v] | ||
| 36 | - USER | ||
| 28 | + github-backup [-h] [-u USERNAME] [-p PASSWORD] [-t TOKEN] | ||
| 29 | + [-o OUTPUT_DIRECTORY] [-i] [--starred] [--watched] | ||
| 30 | + [--all] [--issues] [--issue-comments] [--issue-events] | ||
| 31 | + [--pulls] [--pull-comments] [--pull-commits] [--labels] | ||
| 32 | + [--hooks] [--milestones] [--repositories] [--wikis] | ||
| 33 | + [--skip-existing] [-L [LANGUAGES [LANGUAGES ...]]] | ||
| 34 | + [-N NAME_REGEX] [-H GITHUB_HOST] [-O] [-R REPOSITORY] | ||
| 35 | + [-P] [-F] [--prefer-ssh] [-v] | ||
| 36 | + USER | ||
| 37 | 37 | ||
| 38 | 38 | Backup a github account | |
| 39 | 39 | ||
@@ -51,6 +51,7 @@ CLI Usage is as follows:: | |||
| 51 | 51 | personal access or OAuth token | |
| 52 | 52 | -o OUTPUT_DIRECTORY, --output-directory OUTPUT_DIRECTORY | |
| 53 | 53 | directory at which to backup the repositories | |
| 54 | + -i, --incremental incremental backup | ||
| 54 | 55 | --starred include starred repositories in backup | |
| 55 | 56 | --watched include watched repositories in backup | |
| 56 | 57 | --all include everything in backup | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -107,8 +107,7 @@ def mask_password(url, secret='*****'): | |||
| 107 | 107 | return url.replace(parsed.password, secret) | |
| 108 | 108 | ||
| 109 | 109 | def parse_args(): | |
| 110 | - parser = argparse.ArgumentParser(description='Backup a github account', | ||
| 111 | - prog='Github Backup') | ||
| 110 | + parser = argparse.ArgumentParser(description='Backup a github account') | ||
| 112 | 111 | parser.add_argument('user', | |
| 113 | 112 | metavar='USER', | |
| 114 | 113 | type=str, | |
| Back | FazBrowse Home | New Git URL |
0 commit comments