jekyll-cli

CLI for Jekyll by NodeJS

Usage no npm install needed!

<script type="module">
  import jekyllCli from 'https://cdn.skypack.dev/jekyll-cli';
</script>

README

Installation

$ npm install -g jekyll-cli

Getting Started

Commands

$ jkl new [options] <PATH>    Creates a new Jekyll site scaffold in PATH
$ jkl post [options] <TITLE>  Create a new post
$ jkl watch [options]         Watch the changes locally
$ jkl sass [options]          Compile Sass stylesheets
$ jkl git                     Setup git repository
$ jkl deploy [options]        Deploy to GitHub

Display command help documentation

$ jkl post -h
  Usage: post [options] <TITLE>

  Options:

    -h, --help    output usage information
    -d, --drafts  As a draft
    --ext <NAME>  Specify the extension name (Defaults to md)

License

Licensed under the MIT License.