1.0.4 • Published 2 years ago

pugito v1.0.4

Weekly downloads
16
License
MIT
Repository
github
Last release
2 years ago

Pugito

Simple tool to generate static sites using PugJS.

Installation

After installing the latest version of Node.js, install Pugito with:

$ npm install pugito -g

Commands

compile

Scans the src/ folder and copies all files to dist/ while processing .pug to .html.

Pug templates and partials (also called includes) are not meant to be processed directly. Check the options below to follow the default file name patterns or to change them.

Options

-l, --live             watches source path for live compilation (default: false)
-s, --src <path>       source path (default: "src")
-d, --dist <path>      destination path (default: "dist")
-t, --template <name>  what the name for a template file should contain (default: "template")
-i, --include <name>   what the name for an include/partial file should contain (default: "include")
-h, --help             display help for command
$ pugito compile

clean

Erases dist/ folder.

Options

-d, --dist [path]      destination path (default: "dist")
-h, --help             output usage information
$ pugito clean

TODO

  • Create descriptive console output of file processing
  • Treat common errors to give better user feedback
1.0.4

2 years ago

1.0.2

4 years ago

1.0.3

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago

0.1.1

5 years ago

0.1.0

6 years ago

0.0.8

6 years ago

0.0.7

6 years ago

0.0.6

6 years ago

0.0.5

6 years ago

0.0.3

6 years ago

0.0.2

6 years ago

0.0.1

6 years ago