11 Commits

Author SHA1 Message Date
4319053d5d feat(cli): add search command
A new command has been added to the CLI package to search for components. This command fetches the registry and lists accessible components through the SearchBox component. The SearchBox component has also been updated to show a helper text and a new styled border for better user interaction.
2024-06-07 21:36:25 +09:00
91d9b9f9f3 refactor(cli): normalize component name input
This change includes normalization of user input for component name by converting it to lowercase during the installation process. This is done to ensure that component names are not case sensitive and that any input will match the existing component names in the registry.
2024-06-07 19:00:50 +09:00
5f50d1d8f6 feat(cli): add realname resolution for components
The update enhances the CLI functionality by introducing the realname resolution for components. This is done in the 'list.ts' file, through a new helper function 'getComponentRealName' that is called whenever list of installed components is required. This ensures the correct identifiers are always considered, regardless of them being aliases or actual names.
2024-06-07 00:48:14 +09:00
593559f8b4 feat(cli): remove default path for config
The commit removes the default path for config in the CLI 'list' command. This change improves flexibility by allowing the user to define their own path without overriding the default one.
2024-06-07 00:34:43 +09:00
263bbcbaa4 refactor(cli): update validateConfig parameter in add and list commands
Replaced direct log reference in validateConfig function calls with an anonymous function that logs a message. This change has been made in the add and list commands of the CLI package to ensure proper logging.
2024-06-07 00:16:57 +09:00
a751336b84 feat(cli): add 'add' command
This commit introduces a new command 'add' to the CLI. The 'add' command allows users to add a component to the project with options for custom configurations, and it performs validation checks to ensure the component exists in the registry before installing.
2024-06-07 00:11:25 +09:00
acca348e1e feat(cli): handle registry fetching errors
This commit adds error handling for fetching operations from the registry in the CLI 'list' command. Now, any failure in retrieving the registry results in a failed spinner with a clear descriptive message, thus making the failure more apparent to the user.
2024-06-07 00:11:01 +09:00
d2ed474c9d style(cli): update list command description
The format of the list command description has been updated for consistency. A period has been added at the end of the description.
2024-06-06 23:17:22 +09:00
7e5759f8a2 feat(cli): add list command
This adds a new 'list' command in the CLI package to print all available components in the registry as well as components installed in the project. This command includes additional options to include component file URL and specify a custom path to the config file.
2024-06-06 22:09:26 +09:00
550e942162 feat: remove commands
This commit deletes all template commands and related tests from the CLI package. The template command implementation and its associated tests have been fully removed to make way for new feature implementation.
2024-06-06 19:05:41 +09:00
09a53e7d05 feat: add oclif template 2024-06-06 19:00:53 +09:00