clpage

1.0.0 • Public • Published

Command Line Page

A CLI for creating dead simple webpages (quickly).

Usage

 clpage [options] [command]

 Options:
    -l,  --list  List the user files
    -h, --help   output usage information

 Commands:
    create <filename>         create a new file
    delete <filename>         delete an existing file
    edit <filename> [editor]  edit a file
    publish <filename>        publish a file

Installation

  • Install Node.js and npm
  • Run npm install -g clpage
  • Run clpage --help

Example

  • clpage create new-webpage
  • clpage --list
  • clpage edit new-webpage atom (exclude atom to open in nano)
  • clpage publish new-webpage (pushes to a gist and opens browser to a rendered version of the html)

Notes

Bootstrap, jQuery, font-awesome are already included in the published version of the page. When editing your HTML, be sure NOT to include the <html>, <head> and <body> tags.

Readme

Keywords

none

Package Sidebar

Install

npm i clpage

Weekly Downloads

0

Version

1.0.0

License

ISC

Last publish

Collaborators

  • evendrop