1.0.10 • Published 1 year ago

fld-str v1.0.10

Weekly downloads
-
License
ISC
Repository
-
Last release
1 year ago

CLI Tool fld-str

Usage

Creating Folders and Files

Overview

This CLI tool simplifies the creation of folder structures and files for React projects, providing a seamless approach to automate repetitive processes.

Installation

To globally install the CLI tool, use the following npm command:

sudo npm install -g fld-str

Command Structure

To create a folder and file structure, use the following command format:

For multiple folder and file creation:

mld --f /user/home/

(related image)

When you run the command "fld --p /user/home/", it will create a folder named "user" in the main directory, then inside that, a folder named "home", and within the "home" folder, a file named "home.jsx" will be created. The file will contain a simple React component template.

You can chain multiple folder creation commands in a similar manner to create nested folder structures by using

( / / / * /..... so on)

For multiple folder and file creation:

mld --dir /components+context/home+signup+login/

(related image)

Running this command will create the "components" and "context" folders in the root directory. Each of these folders will contain subfolders "home", "signup", and "login", each with a corresponding ".jsx" file and template.

this works on only two level i mean (/ + + ../ + + /)

1.0.10

1 year ago

1.0.9

1 year ago

1.0.8

1 year ago

1.0.7

1 year ago

1.0.6

1 year ago

1.0.5

1 year ago

1.0.4

1 year ago

1.0.3

1 year ago

1.0.2

1 year ago

1.0.1

1 year ago