alecthomas / alecthomas/kingpin

Actions should have a way to determine the what triggered them

オープン
#294 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
Go
スター
3.6k
フォーク
279
PR マージ指標
30日以内にマージされた PR はありません

説明

AFAICT there is currently no way to determine which flag triggered an action from within the action function itself. This makes it difficult to re-use an action function between multiple flags. It would be nice if either the context contained the particular flag that called the action, or if there was a second parameter which contained this information.

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。