Skip to content

PsclDev/repo-rename

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

✏️ Repo rename

simple and easy to use CLI tool to rename your repository into a new case style. This makes it a smooth process to name all your repos in a single style.

The repos will be sorted by their owner and name. Your own will always be on top.

Dont be confused if you reach the end of the list by key navigation - it will restart the list

Publish pipeline

📸 Example

Example image

💻 Usage

The best way is to use via npx, but you can also download it with npm i repo-rename

$ npx repo-rename -h

Options:
  -V, --version            output the version number
  -T, --token <token>      Your github personal access token (pat)
  -C, --case <case-style>  The case style to which the repositories should be renamed (default:
                           paramCase)
  -h, --help               display help for command

🔑 Personal Access token

To use this tool you need to create a PAT.

The token needs the repo scope!

🔎 Available case styles

- camelCase
 => "testString"

- constantCase
 => "TEST_STRING"

- dotCase
 => "test.string"

- headerCase
 => "Test-String"

- paramCase
 => "test-string"

- pascalCase
 => "TestString"

- snakeCase
 => test_string

📌 Feature ideas

  • Search repos to update links inside README's
  • Update the local remotes of your repositories

📃 License

See LICENSE file

About

simple and easy to use CLI tool to rename your repository into a new case style

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published