Giter Club home page Giter Club logo

fog-tools's Introduction

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.

fog-tools's People

Contributors

enlore avatar

Watchers

Dan R. Day avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.