feature-sliced-design-gen

2.1.2 • Public • Published

Feature Sliced Design CLI

Feature Sliced Design CLI is a command-line interface tool for generating slices following the Feature Sliced Design methodology. It helps automate the creation of pages, entities, and widgets in your project structure, promoting a modular and scalable architecture.

Installation

To install the Feature Sliced Design CLI globally, follow these steps:

1.Install the package via npm:

 npm i -g feature-sliced-design-gen

image

2.Navigate to your project directory:

 cd <your project directory>

Replace with the path to your project directory. This will ensure that the Feature Sliced Design CLI is installed globally and that you navigate to your project directory to use the CLI commands effectively.

When you navigate to your working directory and type fsd-folder-cli, you'll encounter two options:

  1. Full: This option allows you to create a folder with the same name and apply all available slices to it.
  2. Individual: This option enables you to create a folder under a specific slice folder, allowing you to apply only one slice. For example, you can create a folder under the "entities" slice folder. These options provide flexibility in generating slices based on your project's needs, whether you want to apply multiple slices to a single folder or focus on applying a specific slice.

image

Authors

Readme

Keywords

none

Package Sidebar

Install

npm i feature-sliced-design-gen

Weekly Downloads

2

Version

2.1.2

License

ISC

Unpacked Size

7.79 kB

Total Files

4

Last publish

Collaborators

  • navani2_byte