0.0.49 • Published 7 months ago

pixelblock-cli v0.0.49

Weekly downloads
-
License
MIT
Repository
-
Last release
7 months ago

PixelBlock CLI

PixelBlock CLI is a command-line tool to easily install React UI components from a template library into your project.

Features

  • Install individual components from a template library.
  • Ensure components are placed in the correct directory in your project.

Installation

You can install PixelBlock CLI globally via npm or Yarn:

Using npm

npm install -g pixelblock-cli

Using Yarn

yarn global add pixelblock-cli

Alternatively, you can use it directly with npx without installing it globally:

npx pixelblock-cli add <component>

Usage

After installing, you can use the npx pixelblock-cli command to install components.

Install a Component

To install a component, run the following command:

npx pixelblock-cli add <component>

Replace <component> with the name of the component you want to install. For example:

npx pixelblock-cli add button

This will copy the Button.tsx file from the templates directory to your project's components/PixelBlock directory.

Example

  1. Navigate to your project directory:

    cd path/to/your/project

  2. Run the install command:

    npx pixelblock-cli add Button

    This will copy the Button.tsx template file to your project's components/PixelBlock directory.

Directory Structure

Ensure your project directory has the following structure for the CLI to work correctly:

your-project/
├── components/
│   └── PixelBlock/
│       └── Button.tsx
└── 

Contributing

Contributions are welcome! Please fork the repository and submit a pull request.

License

This project is licensed under the MIT License.


Troubleshooting

Common Issues

  1. Command Not Found

    Ensure you have installed the CLI tool globally or are using npx:

    npx pixelblock-cli add Button

  1. Component Not Found

    Make sure the component you are trying to install exists in the templates directory of the CLI tool.

  1. Permissions Issues

    If you encounter permissions issues, try running the command with elevated permissions (e.g., using sudo on Unix-based systems):

    sudo npx pixelblock-cli add Button

Contact

For further assistance, you can reach out to [your contact email or support channel].


0.0.40

9 months ago

0.0.41

9 months ago

0.0.42

9 months ago

0.0.43

9 months ago

0.0.44

9 months ago

0.0.46

9 months ago

0.0.47

9 months ago

0.0.37

9 months ago

0.0.38

9 months ago

0.0.39

9 months ago

0.0.48

7 months ago

0.0.49

7 months ago

0.0.35

12 months ago

0.0.36

11 months ago

0.0.34

1 year ago

0.0.33

1 year ago

0.0.32

1 year ago

0.0.31

1 year ago

0.0.30

1 year ago

0.0.28

1 year ago

0.0.27

1 year ago

0.0.26

1 year ago

0.0.25

1 year ago

0.0.24

1 year ago

0.0.23

1 year ago

0.0.22

1 year ago

0.0.21

1 year ago

0.0.20

1 year ago

0.0.19

1 year ago

0.0.18

1 year ago

0.0.17

1 year ago

0.0.16

1 year ago

0.0.15

1 year ago

0.0.14

1 year ago

0.0.13

1 year ago

0.0.12

1 year ago

0.0.11

1 year ago

0.0.10

1 year ago

0.0.9

1 year ago

0.0.8

1 year ago

0.0.7

1 year ago

0.0.6

1 year ago

0.0.5

1 year ago

0.0.4

1 year ago

0.0.3

1 year ago

0.0.2

1 year ago

0.0.1

1 year ago