Skip to content

Improve Component Fetching in once-u iCLI #3

Description

@Suhaib3100

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions