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
이전
Module
다음
Package

Scalar CLI

Scalar command는 app 또는 library 안에 scalar type을 생성하거나 제거합니다. scalar는 database-backed document model이 아니라 reusable data type 또는 value object입니다.
Scalar name은 space 제거 후 Akan scalar file convention에 맞게 정규화됩니다.

create-scalar

Create a new scalar type for reusable value objects or simple data shapes that do not need DB persistence. The generator normalizes the scalar name and creates the scalar files used by constants, documents, dictionaries, and typed business code.
Signature
Arguments
ArgumentTypeRequiredDefaultDescription
scalarNameStringyes-Scalar name. Spaces are removed and the first letter is lowercased.
scalarName
Type
String
Required
yes
Default
-
Description
Scalar name. Spaces are removed and the first letter is lowercased.
Options
OptionTypeDefaultEnum / FlagDescription
--aiBooleanfalse-Use AI to create scalar before normal scalar creation.
--ai
Type
Boolean
Default
false
Enum / Flag
-
Description
Use AI to create scalar before normal scalar creation.
Notes
NameDescription
executionWhen --ai is true, createScalarWithAi runs before createScalar.
execution
Description
When --ai is true, createScalarWithAi runs before createScalar.
Examples

remove-scalar

Remove an existing scalar type from an app or library. Use it after checking usages, because scalar definitions are often imported by modules, dictionaries, templates, and service payload types.
Signature
Arguments
ArgumentTypeRequiredDefaultDescription
scalarNameStringyes-Scalar name to remove.
scalarName
Type
String
Required
yes
Default
-
Description
Scalar name to remove.
Examples
Scalar CLI
create-scalar
remove-scalar