bloggerpack-create
v1.2.1
Published
Create Bloggerpack based theme using command line and starter template as a head start.
Downloads
12
Maintainers
Readme
bloggerpack-create
Create Bloggerpack based theme using command line and starter template as a head start.
Usage
$ npx bloggerpack-create <project-directory> [options]
Don't use a global installation of bloggerpack-create
, always uses the latest version using npx bloggerpack-create
.
Options
| Options | Alias | Type | Description |
| ------- | ----- | ---- | ----------- |
| --source
| -s
| string | Set source: npm
, git
or archive
. |
| --template
| -t
| string | Set starter template. |
| --help
| -h
| boolean | Show help. |
| --version
| -v
| boolean | Show version number. |
Examples
npm
$ npx bloggerpack-create <project-directory> -s npm -t <package>
# Latest version
$ npx bloggerpack-create project-name -s npm -t package-name
# Latest version with scoped package
$ npx bloggerpack-create project-name -s npm -t @org-name/package-name
# Latest 1.x.x
$ npx bloggerpack-create project-name -s npm -t package-name@1
$ npx bloggerpack-create project-name -s npm -t @org-name/package-name@1
# Latest 1.2.x
$ npx bloggerpack-create project-name -s npm -t [email protected]
$ npx bloggerpack-create project-name -s npm -t @org-name/[email protected]
# Specific version
$ npx bloggerpack-create project-name -s npm -t [email protected]
$ npx bloggerpack-create project-name -s npm -t @org-name/[email protected]
git
$ npx bloggerpack-create <project-directory> -s git -t <git-host>:<user>/<repo>#<branch|tag>
# Branch
$ npx bloggerpack-create project-name -s git -t github:username/repo-name#main
$ npx bloggerpack-create project-name -s git -t gitlab:username/repo-name#master
# Tag
$ npx bloggerpack-create project-name -s git -t github:username/repo-name#v1.0.0
$ npx bloggerpack-create project-name -s git -t gitlab:username/repo-name#v1.0.0
archive
$ npx bloggerpack-create project-name -s archive -t https://example.com/awesome-starter.zip
Show version number
$ npx bloggerpack-create --version
Show help
$ npx bloggerpack-create --help
You can run this command to see all options and examples.
Starters and plugins
See our starters and plugins, or you can find a list of available starters and plugins by searching for bloggerpack
on GitHub or npm.
Changelog
See CHANGELOG.