mt-theme-starterkit
v1.0.4
Published
CLI to generate Movable Type base themes
Readme
mt-theme-starterkit
Movable Type Theme CLI Tool.
What is mt-theme-starterkit?
mt-theme-starterkit is an interactive CLI that automatically generates themes for use with Movable Type.
Node.js version
- "node": "20.10.0",
- "npm": "10.2.3"
Usage
npx mt-theme-starterkit
? Do you have MTAppjQuery installed? (Y/n) Y
? Select a theme to generate: (Use arrow keys)
❯ theme-starter
? Enter the output directory: (mtml)
? Select a user-file to generate: (Use arrow keys)
❯ base-userfile
? Enter the output user-file directory: (user-file) - Do you have MTAppjQuery installed?
- Select a theme
- Set the output destination for the selected theme
- If yes in 1, select MTAppjQuery user.js / user.css
- Enter the output destination for user.js / user.css. Default is user-file.
How will you conduct the development?
The code for developing the interactive CLI is done in TypeScript.
The CLI execution command is main.ts.
Run npx tsc --build on main.ts to generate dist/main.js.
npx tsc --buildHow to CLI test
node dist/main.js