Skip to content

Conversation

@ShinobuTakahashi
Copy link
Contributor

@ShinobuTakahashi ShinobuTakahashi commented Feb 4, 2026

概要

export-zip で --cwd オプション利用時に、zipファイルの出力先を --cwd オプションで指定した箇所に出力されるよう修正。
(現状は --cwd オプションを指定してもコマンドを実行したディレクトリに出力される。 html は --cwd オプションのディレクトリに出力されるので html へ合わせる)

動作確認

--cwd オプションの有無で zip ファイルが指定したディレクトリに出力されることを確認。

Copy link
Member

@xnv xnv left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

コメント加えていますが approved.

"@akashic/akashic-cli-export": patch
---

Fix output for export-zip with --cwd option
Copy link
Member

@xnv xnv Feb 4, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

--cwd は元々 undocumented でまず利用者がいない上、不具合でもあると思うので、patch 修正でいいとは思うのですが、厳密には挙動が変わるタイプの修正なんですよね……。念のため影響がわかるように書いておきたいです。 Fix --output (-o) option: relative path is now interpreted from `--cwd` option's path, if given. とかですかね。

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ありがとうございます。修正しました。

@ShinobuTakahashi ShinobuTakahashi merged commit 3ef4f52 into main Feb 4, 2026
8 checks passed
@ShinobuTakahashi ShinobuTakahashi deleted the fix-export-zip-cwd-option branch February 4, 2026 07:29
@github-actions github-actions bot mentioned this pull request Feb 4, 2026
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.

4 participants