Project
Create project locally and on github
Installation
Manually
You will need to install hub to use it. Then you need to clone repo:
git clone --recursive --depth 1 https://github.com/gko/projectthen add it to .bashrc or .zshrc:
source ./project/project.shWith antigen
In your .zshrc
antigen bundle gko/projectUsage
Usage: project [options]
Example:
project -p test
Options:
-h, --help help
-p, --private create private github repository
-f, --folder your projects folder(defaults to ~/projects)
-n, --no-init avoid initializing package
then to create public repo:
project testcreate private repo:
project -p testif project already exists it will only switch to its folder
Projects path
You can specify projects path by either -f key or $PROJECTS_HOME variable:
project -f /projects_pathor
export PROJECTS_HOME=/projects_pathOtherwise default path is ~/projects
License
Copyright (c) 2012-2017 Konstantin Gorodinskiy
