Skip to content

docs(cli): setupDatabase.php を canonical、initSQLite.php を legacy として明文化する (#294)#303

Merged
hideyukiMORI merged 1 commit into
mainfrom
docs/294-cli-canonical-installer
May 21, 2026
Merged

docs(cli): setupDatabase.php を canonical、initSQLite.php を legacy として明文化する (#294)#303
hideyukiMORI merged 1 commit into
mainfrom
docs/294-cli-canonical-installer

Conversation

@hideyukiMORI
Copy link
Copy Markdown
Owner

Summary

  • 新規 `docs/development/cli.md`: 両 CLI の役割、option 群、idempotency、schema 3-way 重複への cross-ref、`composer setup` ショートカットを一括説明。
  • `docs/deployment/server-install.md` 更新: "Confirmed Short Path" と "SQLite Option" を `setupDatabase.php` 先頭にリストラ。`initSQLite.php` は backwards-compat 用として後置 (削除はしない)。
  • SQLite case でも canonical installer を `NENE_DB_TYPE=SQLite3` で使うパターンを示す。
  • FT6 finding F-1 への対応 (closes docs(cli): setupDatabase.php を canonical installer、initSQLite.php を legacy として明文化する (F-1 from FT6) #294)。

Related

Test plan

🤖 Generated with Claude Code

…文化する (#294)

cli/initSQLite.php と cli/setupDatabase.php は SQLite path で重複機能を
持ち、どちらをいつ使うかが docs に明示されていなかった (FT6 F-1)。

- docs/development/cli.md を新規作成: 両 CLI の役割、--env/--yes/--help
  オプション、idempotency、3 箇所に重複する schema source-of-truth
  への cross-ref、composer setup ショートカットを一括説明
- docs/deployment/server-install.md の "Confirmed Short Path" と
  "SQLite Option" を更新: setupDatabase.php を先頭に、initSQLite.php
  は backwards-compat として後置。SQLite case でも canonical installer
  を NENE_DB_TYPE=SQLite3 で使うパターンに統一

initSQLite.php を残す方針 (deprecation は別 Issue)。本 PR は docs のみ。

Closes #294.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@hideyukiMORI hideyukiMORI enabled auto-merge May 21, 2026 14:51
@hideyukiMORI hideyukiMORI merged commit c75044d into main May 21, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

docs(cli): setupDatabase.php を canonical installer、initSQLite.php を legacy として明文化する (F-1 from FT6)

1 participant