-
Notifications
You must be signed in to change notification settings - Fork 3
Description
Currently, the CLI manually updates the cli-component/src/utils/components.js file when adding new components. Instead of this static approach, the CLI should dynamically fetch the latest components directly from the original repository.
Expected Behavior
-
The CLI should fetch the latest components dynamically from the main once-ui repository.
-
Avoid redundant updates to components.js whenever a new component is introduced.
Proposed Solution
-
Implement a mechanism to fetch component data dynamically at runtime or during installation.
-
Possibly use an API or package reference to sync components instead of maintaining a local list.
This will ensure that users always have access to the latest components without requiring frequent updates to the CLI itself.