Loading README.md +3 −3 Original line number Diff line number Diff line Loading @@ -49,14 +49,14 @@ options: ``` | CLI option | Env. Variable | Description | | ----------------------------------- | ------------------------------ | ---------------------------------------------------------------------------------------------- | |-------------------------------------|--------------------------------|------------------------------------------------------------------------------------------------| | `--api-api` | `$GITLAB_API` | GitLab source API url (defaults to `https://gitlab.com/api/v4`) | | `--insecure` | `$INSECURE` | skip SSL verification | | `--token` | `$GITLAB_TOKEN` | GitLab source token | | `--group-path` | `$GROUP_PATH` | GitLab root group path to cleanup (**mandatory**) | | `--skip-subgroups` | _none_ | skip subgroups cleaning | | `--exclude` | `$EXCLUDE` | project/group path(s) to exclude (multiple CLI option; env. variable is a coma separated list) | | `--dry-run` | _none_ | dry run (don't execute any write action) | | `--dry-run` | `$DRY_RUN` | dry run (don't execute any write action) | | `--verbose` | _none_ | verbose logs | | `--halt-on-error` | _none_ | halt when an error occurs | | `--delay-between-api-calls-in-secs` | _none_ | delay between GitLab API calls, in seconds (default = 3 seconds) | Loading gitlab_butler/main.py +1 −0 Original line number Diff line number Diff line Loading @@ -60,6 +60,7 @@ def run() -> None: parser.add_argument( "--dry-run", action="store_true", default=os.getenv("DRY_RUN") in ["true", "yes", "1"], help="dry run (don't execute any write action)", ) parser.add_argument( Loading Loading
README.md +3 −3 Original line number Diff line number Diff line Loading @@ -49,14 +49,14 @@ options: ``` | CLI option | Env. Variable | Description | | ----------------------------------- | ------------------------------ | ---------------------------------------------------------------------------------------------- | |-------------------------------------|--------------------------------|------------------------------------------------------------------------------------------------| | `--api-api` | `$GITLAB_API` | GitLab source API url (defaults to `https://gitlab.com/api/v4`) | | `--insecure` | `$INSECURE` | skip SSL verification | | `--token` | `$GITLAB_TOKEN` | GitLab source token | | `--group-path` | `$GROUP_PATH` | GitLab root group path to cleanup (**mandatory**) | | `--skip-subgroups` | _none_ | skip subgroups cleaning | | `--exclude` | `$EXCLUDE` | project/group path(s) to exclude (multiple CLI option; env. variable is a coma separated list) | | `--dry-run` | _none_ | dry run (don't execute any write action) | | `--dry-run` | `$DRY_RUN` | dry run (don't execute any write action) | | `--verbose` | _none_ | verbose logs | | `--halt-on-error` | _none_ | halt when an error occurs | | `--delay-between-api-calls-in-secs` | _none_ | delay between GitLab API calls, in seconds (default = 3 seconds) | Loading
gitlab_butler/main.py +1 −0 Original line number Diff line number Diff line Loading @@ -60,6 +60,7 @@ def run() -> None: parser.add_argument( "--dry-run", action="store_true", default=os.getenv("DRY_RUN") in ["true", "yes", "1"], help="dry run (don't execute any write action)", ) parser.add_argument( Loading