0.0.4 • Published 5 years ago
@lamnhan/unistylus-tools v0.0.4
@lamnhan/unistylus-tools
Tools for the Unistylus framework.
Getting started
- Install & init
npx @lamnhan/unistylus-tools init- Install globally:
npm install -g @lamnhan/unistylus-toolsAdd to a project:
unistylus initAdd your own soul src/, edit the .unistylusrc.json.
Generate distribution:
unistylus generateNext, see the homepage: https://unistylus.lamnhan.com
Tools for the Unistylus framework.
unistylus clean|del|d <path>unistylus copy|c [items...] --src [value] --out [value] --cleanunistylus generate|g [path] --apiunistylus init|i [path]unistylus helpunistylus *
Clean a folder.
Usage:
unistylus clean <path>
unistylus del <path>
unistylus d <path>Parameters:
<path>: The<path>parameter.
Copy resources
Usage:
unistylus copy [items...] --src [value] --out [value] --clean
unistylus c [items...] --src [value] --out [value] --cleanParameters:
[items...]: List of items
Options:
-s, --src [value]: Source of items.-o, --out [value]: Copy destination.-c, --clean: Clean the output first.
Generate content.
Usage:
unistylus generate [path] --api
unistylus g [path] --apiParameters:
[path]: Custom path to the project
Options:
-a, --api: Output the API.
Add Unistylus tools to a project.
Usage:
unistylus init [path]
unistylus i [path]Parameters:
[path]: Custom path to the project
Display help.
Usage:
unistylus helpAny other command is not suppoted.
Usage:
unistylus <cmd>License
@lamnhan/unistylus-tools is released under the MIT license.