ankitpokhrel / ankitpokhrel/jira-cli

--plain should not return an error if there are no matching issues

オープン
#883 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
Go
スター
6k
フォーク
413
平均マージ
2日 3時間
マージ済み PR(30日)
1

説明

using
` jira issue list`
to search for issues returns error code 1 no matter if the command fails for any technical issues (DNS error, host unreachable etc) or if the command runs successfully but there are no queries matching the search string.

To be able to properly use the command in a wrapper script, jira-cli should return no error if there is no issues matching the query, it's just that there are issue... not an error.
Or at least, distinguish a failure in connecting and getting the issues from a legitimate, but empty, answer, by using a different return code.

Thanks,

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

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

評価

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

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

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