gh-new

Super simple CLI for creating a new github project.

No longer maintained.
Last updated 2 years ago by bluejeansandrain .
MIT · Repository · Original npm · Tarball · package.json
$ cnpm install gh-new 
SYNC missed versions from official npm registry.

gh-new

Super simple CLI for creating a new GitHub project.

What's the purpose?

Quickly setup a new project on GitHub without having to browse to github.com and click through the UI.

What does it do?

  1. Creates a new GitHub repository.
  2. Adds the newly created GitHub repository as remote origin.
    • Your working directory must be a git repository.
  3. Pushes the current local branch to the GitHub repository and enables remote branch tracking.
    • Your repository must not be in a detached HEAD state.
    • A basic README.md will be created and added if one does not already exist.

Installation

npm install -g gh-new

Usage

Usage: gh-new
       gh-new <repo> [--desc==<description>] [--private] [--user=<user>] [--pass=<password>]
       gh-new --version
       gh-new --help

Fully Interactive:

gw-new fully interactive

Partially Interactive:

gw-new partially interactive

Non-interactive:

gw-new non-interactive

Options

  • <repo>
    • New repository name.
    • New repository name with organization (e.g. org/repo).
  • --desc=<description>, -d <description>
    • Add a description to your repository and README.md file.
  • --private, -p
    • Make the repository private.
  • --user=<user>, -u <user>
    • GitHub user.
  • --pass=<password>
    • GitHub password.
  • --help
    • Display usage text.

Current Tags

  • 1.3.4                                ...           latest (2 years ago)

10 Versions

  • 1.3.4 [deprecated]           ...           2 years ago
  • 1.3.3 [deprecated]           ...           2 years ago
  • 1.3.2 [deprecated]           ...           2 years ago
  • 1.3.1 [deprecated]           ...           2 years ago
  • 1.3.0 [deprecated]           ...           2 years ago
  • 1.2.0 [deprecated]           ...           2 years ago
  • 1.1.1 [deprecated]           ...           2 years ago
  • 1.1.0 [deprecated]           ...           2 years ago
  • 1.0.1 [deprecated]           ...           2 years ago
  • 1.0.0 [deprecated]           ...           2 years ago
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (6)
Dev Dependencies (1)
Dependents (0)
None

Copyright 2014 - 2017 © taobao.org |