Skip to content

2KAbhishek/mkrepo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

History

29 Commits

Repository files navigation

License People Stars Forks Watches Last Updated

Ready to go repos from the CLI ✈💡

What is this

mkrepo is a little wrapper aroundgithub-clithat allows you to make new repos even more quickly and sets up remotes so that you can jump straight into typing out code.

Inspiration

I make a lot of projects (as you might have seen on my GitHub profile), and I needed a tool to fasttrack the first commit.

Prerequisites

Before you begin, ensure you have met the following requirements:

  • You have installed the latest version ofgithub-cli

  • A template repo likemkrepo

Installing mkrepo

To install mkrepo, follow these steps:

git clone https://github.com/2kabhishek/mkrepo
cdmkrepo
#Link mkrepo to a directory that's in PATH (~/.local/bin here)
ln -sfnv"$PWD/mkrepo.sh"~/.local/bin/mkrepo

Using mkrepo

If you have an existing project, you can usemkrepo project_dirnameto create a new repo with the same name, and it will automatically set things up for you.

For new repos you can usemkrepoto create a new repo that uses the template you pass (mkrepo if empty) for setting things up.

mkrepo: Ready to go repos from the CLI 🚀💡

Usage: mkrepo<repoName>[templateName] [description]

Arguments:
repo name: The name of the new repository.
template name: The name of the template repo to use (default: bare-minimum).
description: The descriptionforthe repository (default: Short Sweet Headline 🎇🎉).

Templates

These are some templates I have set up and use:

How it was built

mkrepo was built usingbashandgh

What's next

Needs changes to support customization for other users.

Hit the ⭐ button if you found this useful.

More Info

Releases

No releases published

Sponsor this project

Packages

No packages published

Languages