Skip to content

Fix panic caused by required global api_key and url arguments - #171

Open
ryuma-1 wants to merge 21 commits into
nomlab:mainfrom
ryuma-1:fix/env-setting
Open

ryuma-1 wants to merge 21 commits into
nomlab:mainfrom
ryuma-1:fix/env-setting

Conversation

@ryuma-1

@ryuma-1 ryuma-1 commented Oct 30, 2026

Copy link
Copy Markdown

概要

clap では global = true と required = true を同時に指定できない.そのため,b4b4b50 で api_key / url をグローバル引数にして以降,debug ビルドではどのサブコマンドを実行しても Global arguments cannot be required で panic していた.
そこで,両引数から required = true を外し,required = false を指定して修正した.

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.

3 participants