gh repo archive --yes owner/repo

Category: GitHub CLI

gh repo archive --yes owner/repo

Archive a repository without an interactive confirmation prompt

Archives a repository without the interactive confirmation prompt.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.