1.10.3 • Published 8 years ago

quickhub v1.10.3

Weekly downloads
-
License
MIT
Repository
-
Last release
8 years ago

quickhub

Creating github project made even easier

Every time you want to start a project, you have to git init, create a repo on Github, and type a bunch of commands to add remote origin blah blah. I can never remember those commands, so I created this little tool - one simple command is all you need.

Install

npm install quickhub -g

Usage

quickhub awesomeProject

Result from running above command:

Initialized empty Git repository in /Users/shangyeshen/Sites/quickhub/awesomeProject/.git/

[master (root-commit) 99605e3] first commit
 1 file changed, 1 insertion(+)
 create mode 100644 README.md
Branch master set up to track remote branch master from origin.

Or using it as a module:

const quickhub = require('quickhub')

const username = 'john';
const password = 'doe';

quickhub('awesomeProject', {username, password}).then(response => {
    console.log(response);
  })
  .catch(error => {
    console.log(error);
  })

Response:

{
  'Initialized empty Git repository in /Users/shangyeshen/Sites/quickhub/awesomeProject/.git/\n\n
  [master (root-commit) a2631fb] first commit\n
  1 file changed, 1 insertion(+)\n
  create mode 100644 README.md\n
  Branch master set up to track remote branch master from origin.\n'
}

License

MIT

1.10.3

8 years ago

1.10.2

8 years ago

1.10.1

8 years ago

1.10.0

8 years ago

1.0.10

8 years ago

1.0.9

8 years ago

1.0.8

8 years ago

1.0.7

8 years ago

1.0.6

8 years ago

1.0.5

8 years ago

1.0.4

8 years ago

1.0.3

8 years ago

1.0.2

8 years ago

1.0.1

8 years ago

1.0.0

8 years ago