ginit

command module
v0.0.0-...-9496831 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 4, 2020 License: MIT Imports: 14 Imported by: 0

README

GInit : Unique way of starting projects

Overview GoDoc Go Report Card

GInit is a Command line tool built using Golang to start your project. Just enter your repo name and choose if u want private or public repo and Voilà; you have a repo and a folder (local directory) with git initialized. What's more is you can choose your .gitignore template for projects and it will be pushed along to your remote repo. It's a one stop tool to get your project up and going.

Install

Note: To make this project work, the following environmental variable is necessary as GitHub has deprecated the Basic Auth mechanism. To create your own Personal Access Token refer here.
export GITHUB_PAT=<Personal Access Token>

  • To include it as a part of your project:
go get github.com/hjoshi123/GInit
  • To build the project from source:
git clone https://github.com/hjoshi123/GInit
go install
  • Homebrew install coming soon

Features

  • Directory creation and git init.
  • README.md and .gitignore part of Init Commit.
  • .gitignore templates to be choosen from (currently 6, more coming soon).
  • Command line arguments (WIP)

Author

Hemant Joshi

If this library helps you in anyway, show your love ❤️ by putting a ⭐ on this project ✌️

License

This project is licensed under MIT - see the LICENSE file for more details.

Documentation

Overview

Package main deals with the calling of functions from package prompt and displaying error messages using chalk module. Command Line Arguments are not included yet and will be out soon.

Directories

Path Synopsis
Package prompt handles the prompt for creation of repository in GitHub.
Package prompt handles the prompt for creation of repository in GitHub.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL