Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

kick-init

Package Overview
Dependencies
Maintainers
1
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

kick-init

cli tool for getting your new project a kick start!

  • 1.0.9
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
3
increased by200%
Maintainers
1
Weekly downloads
 
Created
Source

chuck chuck

kick-init

Give your new project a kick!

##What it do

Drastically reduce the time it take to spin up a new project. Even with a starter boilerplate the time you spend setting it up for a new project can add up. With kick-init a single command will have your starter project up and running in a matter of minutes.

When used to full potential kick-init will:

  • clone starter repo into current directory
  • delete old .git history
  • initialize new git repository
  • run npm install
  • add all files to staging
  • create your first commit
  • create your remote repo (with -r flag)
  • add remote repo to local project (with -r flag)
  • push up all files to new remote repo (with -r flag)
  • make you a better person (Beta)

Install

$ npm i -g kick-init

CLI

kick is the only necessary command to get started. All arguments and flags are optional. The repo defaults to the first one listed in the config file or the default if no config is present. kick-init defaults to not creating a remote repo but can be added with the -rflag.


$ kick --help

  Usage:
  $ kick [repo][flag]   generate the [repo] starter in the current directory


  Options:
  -c, --clone           specify a random repo to clone
  -h, --help            print help menu
  -l, --list            print starter repo options
  -r, --remote          create a remote repo for this project
  -v, --version         print current version of kick-init package
  -V, --verbose         print out each command being executed

  [repo]                specify the repo to clone, defaults to first in list


  Examples
    $ kick
    will run kick-init with first repo listed in config and no remote repo
    $ kick -r
    will run kick-init with first repo listed in config with remote repo
    $ kick b
    will run kick-init with b and no remote
    $ kick -c https://github.com/davidicus/myboilerplate.git
    will run kick-init with the myboilerplate repo and no remote

##Config

In order to get the full benefits of kick-init add a .kickconfig.json file to your root directory. There are two sections of the config. The repos property will list out all repos available to clone. The second property is github. Here you will list your username and personal access token. Check out how to get a personal access token here. Without the config file you will not be able to create a remote repo but can still start a local project. Get ta kickin!


//.kickconfig.json

//a, b, z below can be named anything you want to identify the repo

  {
    "repos": {
      "a": "https://github.com/davidicus/react-app-starter.git",
      "b": "https://github.com/davidicus/build-ignore-test.git",
      "z": "https://github.com/davidicus/build-ignore-test.git"
    },
    "github": {
      "token": "yourToken",
      "username": "yourUserName"
    }
  }

##Coming Soon!

  • Support for github enterprise

License

MIT © David Conner

FAQs

Package last updated on 13 Jun 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc