slds-cli

A command line interface utility for the Salesforce Lightning Design System.

Usage no npm install needed!

<script type="module">
  import sldsCli from 'https://cdn.skypack.dev/slds-cli';
</script>

README

slds-cli

The Salesforce Lightning Design System (SLDS) command line utility.

This CLI tool is intended to assist in running some of the more repetitive and human-error-prone tasks in the SLDS system.

Features

  • Create SLDS blueprint file conventions using ES2015+

Installation

npm install slds-cli

Usage

After installation, the slds CLI tool will be available. This is the entrypoint for all functionality.

Add a new blueprint

slds blueprint <blueprint-name>

This command will create a new component blueprint named blueprint-name within ui/components, and generate all the base files for your component. Each file is pre-populated with content specific to your component blueprint.

Development

TBD