1.0.1 ā€¢ Published 4 years ago

@sagacious/cli v1.0.1

Weekly downloads
-
License
ISC
Repository
github
Last release
4 years ago

@sagacious/cli

logo

šŸŽ a universal template management tool

Install

npm install -g @sagacious/cli

or if you prefer yarn

yarn global add @sagacious/cli

Usage

now you can see the sag command globally like this

help

šŸ“¦ first: add template

template can be an npm package

addNpm

template can be a git repository

addGit

template can be a local folder

addDir

and then you can check it

check

you can even manage different versions of templates

addMoreVersion

you can delete templates when you don't need them

remove

šŸ˜œ second: create app

now you can initialize your template where you need it

createApp

FAQ

why do we need template management tools?

we all know that there are mature types of scaffolding in the community, but every time you initialize a project, you still need to customize a lot of personalized content. The template management tool can uniformly manage and cache your various templates.

why @sagacious/cli and not yo?

yoman is a great tool, but I don't really like the mandatory naming prefix of his templates. Then in most cases, we may need to add a git repository template or a local template instead of publishing a new version of the npm package every time.

why a donkey appeared?

šŸ“ this donkey is a sagacious mascot~

Related