1.2.6 โ€ข Published 4 months ago

agillo-cli v1.2.6

Weekly downloads
-
License
-
Repository
-
Last release
4 months ago

๐Ÿ“– Agillo CLI Documentation

๐Ÿ“Œ Introduction This CLI tool helps you manage and install React and React Native components from a registry. It allows you to list available components and add them to your project interactively.

๐Ÿ“ฆ Installation

npx agillo-cli

๐Ÿ” Listing available components

To see all available components, run:

agillo-cli list

This will display categories like React , React Native and shadcn . You can navigate through categories and select a component to add.

๐Ÿ“ฆ Adding a component

To add a specific component, use:

agillo-cli add component-name For example:

agillo-cli add button

If you donโ€™t specify a component, youโ€™ll get an interactive menu to choose from. ๐Ÿ“‚ Project Structure When a component is added, it will be copied to:

/components โ”œโ”€โ”€ button.tsx โ”œโ”€โ”€ some-other-component.tsx

If the component has dependencies, they will be added automatically.

If a file already exists, youโ€™ll be prompted to overwrite, keep both, or skip.

Overwrite โ†’ Replace the existing file.

Keep both โ†’ Rename the new file and keep both versions.

Skip โ†’ Do not copy this file.

๐Ÿ›  Updating Imports When components are copied, their imports will be updated automatically. For example, if your code has:

import { Button } from "@/shadcn/ui/button"; It will be updated to:

import { Button } from "./shadcn-button"; This ensures the component works in its new location.

โš ๏ธ Error Handling If the component is not found, youโ€™ll see:

๐Ÿšจ Error: Component "xyz" not found in registry!

If a dependency is missing, youโ€™ll see a warning but the installation will continue.

1.2.6

4 months ago

1.2.5

4 months ago

1.2.4

4 months ago

1.2.0

5 months ago

1.1.9

5 months ago

1.2.3

4 months ago

1.2.2

5 months ago

1.2.1

5 months ago

1.1.1

5 months ago

1.1.8

5 months ago

1.1.7

5 months ago

1.1.6

5 months ago

1.1.5

5 months ago

1.1.4

5 months ago

1.1.3

5 months ago

1.1.2

5 months ago

1.1.0

5 months ago

1.0.9

5 months ago

1.0.8

5 months ago

1.0.7

5 months ago

1.0.6

5 months ago

1.0.5

5 months ago

1.0.4

6 months ago

1.0.3

6 months ago

1.0.2

6 months ago

1.0.1

6 months ago