0.0.4 • Published 4 years ago

@lamnhan/unistylus-tools v0.0.4

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

@lamnhan/unistylus-tools

Tools for the Unistylus framework.

Getting started

  • Install & init
npx @lamnhan/unistylus-tools init
  • Install globally:
npm install -g @lamnhan/unistylus-tools

Add to a project:

unistylus init

Add your own soul src/, edit the .unistylusrc.json.

Generate distribution:

unistylus generate

Next, see the homepage: https://unistylus.lamnhan.com

Tools for the Unistylus framework.

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] --clean

Parameters:

  • [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] --api

Parameters:

  • [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 help

Any other command is not suppoted.

Usage:

unistylus <cmd>

License

@lamnhan/unistylus-tools is released under the MIT license.