Skip to content

SagaciousLittle/sagacious-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

46 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

@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

About

๐ŸŽ a universal template management tool

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published