Skip to content

one-toolkit init

Khởi tạo One-Toolkit trong dự án hiện tại.

Usage

bash
one-toolkit init [options]

Options

OptionMô tả
-e, --environment <env>Môi trường AI (cursor, antigravity, claude)
-a, --allKhởi tạo tất cả phases
-p, --phases <phases>Danh sách phases (comma-separated)
--viSử dụng templates tiếng Việt

Examples

Khởi tạo đầy đủ với tiếng Việt

bash
one-toolkit init --all --vi

Chọn môi trường cụ thể

bash
one-toolkit init -e cursor --all

Chọn phases cụ thể

bash
one-toolkit init -p requirements,design,planning

Kết hợp nhiều options

bash
one-toolkit init -e antigravity -p requirements,design --vi

Interactive Mode

Nếu không có options, CLI sẽ hỏi interactive:

? Chọn AI environments để cài đặt: 
  ❯ ◉ Cursor
    ◉ Antigravity (Google)
    ◯ Claude Code
    
? Chọn phases để khởi tạo:
  ❯ ◉ requirements
    ◉ design
    ◉ planning
    ◉ implementation
    ◉ testing

Output

Initializing One-Toolkit (Tiếng Việt)...

[OK] Created .one-toolkit.json
[OK] Created AGENTS.md
[OK] Created requirements phase
[OK] Created design phase
[OK] Created planning phase
[OK] Created implementation phase
[OK] Created testing phase

One-Toolkit initialized successfully!

Next steps:
  • Review templates in docs/agent/
  • Run `one-toolkit phase <name>` to add more phases

Internal Use Only