fewu-cli
v1.0.13
Published
Command line interface of fewu.
Readme
Fewu Command line interface
This is a tool that makes using fewu more easier.
The basic fewu (>3.3.4) operations are only generating website and live server. This package is splited from fewu (3.2.3) that support initialize, quickwrite and other operations not included in core fewu.
Usage
npm i fewu-cli # Install package
npx fewu init # Do initialization
npx fewu new source/posts/my-first-post.md "My First Article" -c MyArticles -t FirstOfAll
npm i # Install dependencies for theme
npx fewu --server # Generate and startup local server.You can run npx fewu --help for detailed information.
The default initialization includes:
- A Markdown renderer plugin
- A default theme with it's parser depenedencies
- A simple quickstart
Migrating
After 3.3.4 update, the main package is switched to @fewu-swg/fewu, and package fewu is deprecated (though it's confirmation is about 1 year later).
If you want to use the newer one, just remove fewu and download fewu-cli, all things will be done without problems.
