gh repo archive

gh repo archive [<repository>] [flags]

Archive a GitHub repository.

With no argument, archives the current repository.

Options

-y, --confirm
Skip the confirmation prompt

See also