A CLI for creating dead simple webpages (quickly).
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
clpage create new-webpage
clpage --list
-
clpage edit new-webpage atom
(excludeatom
to open in nano) -
clpage publish new-webpage
(pushes to a gist and opens browser to a rendered version of the html)
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.