Skip to main content

Introduction

If you don't need to generate styles run time or you don't want to use javascript at all, but you still want to benefit the morfeo eco-system and a centralized theme, the morfeo CLI is what you need!

Morfeo CLI has 2 commands:

  • build to generate CSS based on your themes;
  • compose it creates automatically a theme by composing multiple .morfeo.ts files.

You can find a detailed documentation here for the build command and here for the compose command.

Installation

To install the CLI you just have to add it to your devDependencies:

yarn add --dev @morfeo/cli
# or npm add -D @morfeo/cli

Or using it directly with npx

npx @morfeo/cli --help