@lauramanzini/gh-repo-rename
v1.2.3
Published
## Description
Downloads
11
Maintainers
Readme
Extension gh-repo-rename
Description
Through this gh extension you will be able to rename a repository belonging to an organization.
Installation
gh extension install lauramanzini/gh-repo-rename
Another way to install the extension is to make use of the executable provider, installing as a npm module
npm i -g @lauramanzini/gh-repo-rename
Usage
Usage: gh-repo-rename [options]
Options:
-V, --version output the version number
-r, --repo <reponame> repo
-o, --org <organization> organization
-n, --name <name> name
-h, --help display help for command
If you use the executable provided by the npm module
You can also use it as a library:
const { getRepoId, renameRepo} = require("@lauramanzini/gh-repo-rename");
console.log(getRepoId("lauramanzini", "gh-repo-rename"));
When we run the example we get
node hello-reporename.js
(id del repo)
Author
Laura Manzini