github-web v1.0.3
Github-HTML-CLI
This is a super simple command line module that creates a new github project along with HTML5 boilerplate.
Works on Macs / linux or things that have pbcopy
$ github-web <github repo>
When you run a repo gets created in the logged in account along with the html file:
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="description" content="">
<meta name="author" content="">
<title>Title</title>
<link rel="icon" type="image/png" href="favicon.png">
<link rel="stylesheet" href="assets/style.css">
</head>
<body>
</body>
</html>
You can use it as-is or adapt it to your own boilerplate needs
Use it
You'll need Node.js and NPM (which comes when you install Node.js) on your computer.
Install github-web
globally on you computer with NPM:
$ npm install -g github-web
From any terminal window, run the github-web <repo-name>
command to get the boilerplate copied to you clipboard.
$ github-web <repo-name>
Then paste it where you want it. Done!
Adapt it
You'll need Node.js and NPM (which comes when you install Node.js) on your computer.
Clone this repository (or a fork of it) to your computer:
$ git clone git@github.com:sumn2u/Github-HTML-CLI.git
$ cd Github-HTML-CLI
Link this version to your system so that Node uses it when you run github-web
. From inside the Github-HTML-CLI
directory link it:
$ npm link
Then run github-web <repo-name>
from any terminal window. Yay!