-
Notifications
You must be signed in to change notification settings - Fork 8k
Description
Describe the feature or problem you’d like to solve
It would be nice to rename repository through CLI.
Proposed solution
There will be no need to navigate through website which might create distract when web browser is used. Wİthout leaving coding area would be nice to archive repo.
Additional context
Normally, I was thinking to have rename functionality in user base, I mean, instead of renaming current repository, users should be able to list their repos and rename according to user's wish. For instance
gh repo list --user "mrturkmencom"
It will return unique ids per repo or name (-of course if user is authenticated already-), then user should be able to rename provided repo, like in given example below.
gh repo --rename mrturkmencom/testrepo mrturkmencom/reamedrepo
However, it does not completely fit usage of Github CLI from my understanding, since gh is used when there is a .git folder.
Hence, rename command could be used more simple way,
gh repo --rename newreponame
which should archive the repo where gh command is executed.