uuice-cli
v0.0.33
Published
uuice`s blog cli, developing...
Downloads
37
Readme
uuice-cli
Introduction
UUICE, a cli tool for the blog like hexo, can be used as a study project for nestjs.
api document
Technology
- nestjs: api services and page rendering
- nunjucks: Template engine
Installation
# install
$ pnpm add -g uuice-cliUsage
# help
$ uuice helpUsage: uuice-cli [options] [command]
CLI to uuice`s blog
Options:
-V, --version output the version number
-h, --help display help for command
Commands:
new [options] <type> <title> generate new post or page
gen [options] generate data json
server [options] nestjs server
help [command] display help for commandNew post or page
Usage: uuice-cli new [options] <type> <title>
generate new post or page
Arguments:
type type only support post or page
title title
Options:
-p, --path <path> md file path (default: "")
-h, --help display help for commandGenerate data.json
Usage: uuice-cli gen [options]
generate data json
Options:
-w, --watch Listen to the source file directory
-h, --help display help for commandServer
Usage: uuice-cli server [options]
nestjs server
Options:
-p, --port <port> server port (default: "3000")
-w --watch Listen to data.json and reload db
-h, --help display help for commandLicense
UUICE is MIT licensed.
