fog-tools

1.8.0 • Public • Published

fog.haus CLI tools

Use this to crap out a boilerplate project structure.

CLI

# summons the help info

fog --help

fog list
fog list templates
fog list addons

fog search <template tag>
fog search <addon name>

fog init <template> [destDir]

# type is the name of the boilerplate template
# (currently only supports 'static')
# optional dir will be created

fog init <type> [dir]

# examples

# outputs the files and folders into the current working dir
fog init static

# makes a new dir called my-website and plops the files into it
fog init static my-website

Supported boilerplates

static

Normalize, skeleton's grid system (and only that), scss, pug. Simple dir structure expects the user to make directories in the src/pages dir with index.pug files to add new pages. So adding a new page to the site like example.com/about-us would look like src/pages/about-us/index.pug.

Note: the build proc doesn't notice when you add new pug files. You'll need to restart it when you do the above to add a new page.

Readme

Keywords

none

Package Sidebar

Install

npm i fog-tools

Weekly Downloads

1

Version

1.8.0

License

MIT

Unpacked Size

63.7 kB

Total Files

8

Last publish

Collaborators

  • enlore