gh-repo-archive - Archive a repository
gh repo archive [<repository>] [flags]
Archive a GitHub repository.
With no argument, archives the current repository.
-y
--yes
Skip the confirmation prompt
gh-repo(1)