6 Commits

Author SHA1 Message Date
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
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