Crates.io | innit |
lib.rs | innit |
version | 0.1.0 |
source | src |
created_at | 2024-06-19 03:19:30.664286 |
updated_at | 2024-06-19 03:19:30.664286 |
description | An interactive commandline tool for quickly initialising git repositories, written in Rust. |
homepage | |
repository | https://github.com/oughtum/innit |
max_upload_size | |
id | 1276472 |
size | 45,573 |
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.
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 |
cargo install innit
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 .
innit