Skip to content
/ gnit Public

Automate the Project initialization process for any of your brand new projects.

License

Notifications You must be signed in to change notification settings

imkaka/gnit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gnit

Automate the Project inatialization process for any brand new project.

What it does on the fly (see no magic!):

  • Create and initialize git Project Repo locally
  • Create Project Repo at github
  • Add remote to local project.
  • Create README.md file
  • Add, commit & push initial commit.
  • Open local project directory in code.

Configurations

  1. Clone the repo git clone git@github.com:imkaka/gnit.git
  2. cd gnit
  3. pip install -r requirements.txt
  • Update TOKEN with your github Token or you can use your username and password as Github(username, password).get_user() in create.py and remove.py.

  • Update file path to your appropriate path. /home/<username>/path/to/file/.

  • Update .gnit.sh to put your github username.

Temporarily

$ source .gnit.sh

to make command gnit available on current shell session.

OR

Install the .gnit.sh as permanent command.

  • open .bashrc

    .bashrc file is located in your user directory

$ vi ~/.bashrc
  • at end of the file add
source <path to .gnit.sh>
Ex: source /home/imkaka/.gnit.sh

Usage:

  1. Initalize Project
$ gnit <project_name>
  1. Remove any project repo from github:
$ python remove.py <repo_name>

About

Automate the Project initialization process for any of your brand new projects.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published