Library command는 workspace의 shared library를 관리합니다. 여러 app이 import할 reusable domain, utility, UI, platform code를 만들 때 사용합니다.
공개 library command는 `create-library`, `remove-library`, `sync-library`, `install-library`입니다.
create-library
Create a new shared library in the workspace for reusable code across applications.
The library name is normalized to lowercase kebab-case so generated folder names and imports follow workspace conventions.
Signature
Arguments
Argument
Type
Required
Default
Description
libName
String
yes
-
Library name. Normalized to lowercase kebab-case.
libName
Type
String
Required
yes
Default
-
Description
Library name. Normalized to lowercase kebab-case.
Examples
remove-library
Remove an existing shared library from the workspace.
Use it when a library should no longer be part of workspace sync, dependency wiring, or app import surfaces.
Signature
Examples
sync-library
Synchronize dependencies and configuration for a selected shared library.
Run it after library package changes, generated surface updates, or configuration edits that should be reflected consistently.
Signature
Examples
install-library
Install a pre-built library template such as shared or util into the workspace.
The library name is optional, allowing the install flow to prompt or choose defaults when the target template is not supplied.