@genexus/mercury-cli
v1.2.0
Published
The CLI to build and use the Mercury Design System
Keywords
Readme
The CLI for Mercury Design System
The @genexus/mercury-cli package contains the CLI to build and use the Mercury Design System. It provides the mercury binary to build the Mercury Design System.
Usage example in the package.json file:
"scripts": {
// your other scripts...
"build.mercury": "mercury --i={{ Icons final path }} --f={{ Fonts path final }}"
}⚙️ CLI flags
The following are the command-line parameters expected by the mercury binary.
| Flag | Description |
| ----------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------- |
| --globant --gl -gl | If specified, the generated CSS will use the tokens for the Mercury Globant variant. |
| --icons-path=path --icons=path --i=path -i=path | Allows you to customize the base path for the icons. If not specified, /assets/icons/ will be used. |
| --font-face-path=path --font-face=path --f=path -f=path | Allows you to customize the base path for the custom fonts. If not specified, /assets/fonts/ will be used. |
| --avoid-hash=bundle1,bundle2,... --ah=bundle1,bundle2,... -ah=bundle1,bundle2,... | Receives a set of comma-separated values, where each value is a bundle. Allows you to avoid the creating the hash for the provided bundles. |
