image
Akan.js
한국어
문서컨벤션레퍼런스Cheatsheet
image
Akan.js
MIT 라이선스 하에 배포되었습니다.
Akan.js 공식 컨설팅 서비스Akansoft
Copyright © 2026 Akan.js 모든 권리 보유.
시스템 관리자bassman
CLI 레퍼런스
• 명령어
• Workspace
• Application
• Library
• Module
• Scalar
• Package
• Page
• Cloud
AkanJS 레퍼런스
• akanjs/base
• akanjs/common
• akanjs/constant
• akanjs/fetch
• akanjs/signal
• akanjs/server
• akanjs/client
• akanjs/webkit
UI 레퍼런스
• Overview
• Core
• Display
• Forms
• Overlays
• System
CLI 레퍼런스
• 명령어
• Workspace
• Application
• Library
• Module
• Scalar
• Package
• Page
• Cloud
AkanJS 레퍼런스
• akanjs/base
• akanjs/common
• akanjs/constant
• akanjs/fetch
• akanjs/signal
• akanjs/server
• akanjs/client
• akanjs/webkit
UI 레퍼런스
• Overview
• Core
• Display
• Forms
• Overlays
• System
이전
명령어
다음
Application

Workspace CLI

Workspace command는 새 Akan.js workspace를 만들고 repository 전체를 동기화합니다. 프로젝트를 시작하거나 generated surface를 정리하거나 app/library 전체에 lint를 적용할 때 사용합니다.
아래 명령은 `workspace.command.ts`의 `create-workspace`, `lint`, `lint-all`, `sync-all`에서 옵니다.

create-workspace

새 Akan.js workspace를 만들고 같은 단계에서 첫 application까지 bootstrap할 수 있습니다. 이 명령은 이름을 lowercase kebab-case로 정규화하고 선택한 update tag, library 설치 여부, initialization flag로 repository를 준비합니다.
Signature
Arguments
ArgumentTypeRequiredDefaultDescription
workspaceNameStringyes-Organization/workspace name. Normalized to lowercase kebab-case.
workspaceName
Type
String
Required
yes
Default
-
Description
Organization/workspace name. Normalized to lowercase kebab-case.
Options
OptionTypeDefaultEnum / FlagDescription
--appString--Codename of the first application. Normalized to lowercase kebab-case.
--dirStringlocal when USE_AKANJS_PKGS=true, otherwise .-Directory where the workspace is created.
--libsBoolean-false | trueInstall shared and util libraries.
--tagStringlatestlatest | dev | canary | beta | rc | alphaAkan.js update tag used while creating the workspace.
--initBooleantrue-Initialize the workspace after creation.
--app
Type
String
Default
-
Enum / Flag
-
Description
Codename of the first application. Normalized to lowercase kebab-case.
--dir
Type
String
Default
local when USE_AKANJS_PKGS=true, otherwise .
Enum / Flag
-
Description
Directory where the workspace is created.
--libs
Type
Boolean
Default
-
Enum / Flag
false | true
Description
Install shared and util libraries.
--tag
Type
String
Default
latest
Enum / Flag
latest | dev | canary | beta | rc | alpha
Description
Akan.js update tag used while creating the workspace.
--init
Type
Boolean
Default
true
Enum / Flag
-
Description
Initialize the workspace after creation.
Notes
NameDescription
runsOnWorkspaceRootfalse
scriptworkspaceScript.createWorkspace(workspaceName, app, { dirname, installLibs, tag, init })
runsOnWorkspaceRoot
Description
false
script
Description
workspaceScript.createWorkspace(workspaceName, app, { dirname, installLibs, tag, init })
Examples

lint

선택한 app, library, package target에 lint와 formatting을 실행합니다. `--fix` 기본값은 true이므로 option을 명시적으로 끄지 않으면 formatter/linter fix를 적용합니다.
Signature
Options
OptionTypeDefaultEnum / FlagDescription
--fixBooleantrue-Apply formatter/lint fixes.
--fix
Type
Boolean
Default
true
Enum / Flag
-
Description
Apply formatter/lint fixes.
Examples

lint-all

단일 target이 아니라 workspace 전체 범위에 lint와 formatting을 실행합니다. generated surface, app code, shared library를 함께 확인해야 하는 넓은 검증 전에 사용합니다.
Signature
Options
OptionTypeDefaultEnum / FlagDescription
--fixBooleantrue-Apply formatter/lint fixes.
--fix
Type
Boolean
Default
true
Enum / Flag
-
Description
Apply formatter/lint fixes.
Examples

sync-all

workspace의 모든 app과 library dependency/configuration surface를 갱신합니다. generated configuration이 오래되었거나 shared workspace setup에 영향을 주는 변경 뒤에 사용합니다.
Signature
Examples
Workspace CLI
create-workspace
lint
lint-all
sync-all