fcnui 1.0.4 fcnui: ^1.0.4 copied to clipboard
The fcnui CLI (Command-Line Interface) tool. It is used to generate component code for the fcnui package.
fcnui
CLI #
The fcnui
CLI (Command-Line Interface) tool is a powerful utility designed to simplify the management of fcnui
components within Flutter projects.
Pub Dev Link #
Getting Started #
Commands:
-
init:
- Initializes a new Flutter project with
fcnui
integration. - Creates a directory structure for managing
fcnui
components. - Creates
fcnui.json
file to store the project's configuration.
- Initializes a new Flutter project with
-
add [component_name]:
- Fetches the specified component from the API.
- Checks if the component already exists in the project and if the version is up-to-date.
- If the component is not present or an updated version is available, prompts the user to add or update the component.
- Generates a new Dart file for the component if added or updated.
-
help:
- Provides information about all available commands and their usage.