1 unstable release
0.1.0 | Jun 19, 2024 |
---|
#2706 in Command line utilities
15KB
331 lines
innit
Overview
innit
is a blazingly fast 🚀 commandline utility for initialising git repositories quickly and easily. I created this to solve the common problem of having to generate a .gitignore
, README.md
& LICENSE
for most of the projects I make - this tool makes it trivial to set up that boilerplate for a new project.
Features
Below is the options you can change, their types, and their default values where applicable:
Option | Type | Default |
---|---|---|
generate README? |
bool |
true |
generate .gitignore? |
bool |
true |
.gitignore template |
string |
- |
license |
string |
- |
name |
string |
git config --global user.name |
year |
string |
current year |
branch |
string |
'main' |
remote name |
string |
'origin' |
remote URL |
string |
- |
commit changes? |
bool |
true |
commit message |
string |
'initial commit' |
push changes? |
bool |
true |
Dependencies
Installation
Cargo
cargo install innit
Source
git clone https://github.com/oughtum/innit.git
cd innit
cargo install --path .
Or as a single command:
git clone https://github.com/oughtum/innit.git && cd innit && cargo install --path .
Usage
innit
Dependencies
~5–13MB
~162K SLoC