commandlineparser / commandlineparser/commandline

Make FormatWithQuotesIfString public

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

説明

Sometimes we may want to have more control when doing "UnParsing", for example I'd want to do the reverse of `UnParserExtensions.SplitArgs` (get a `string` from a `IEnumerable`).
By exposing `FormatWithQuotesIfString`, it would be much easier for me to implement a reverse version of `SplitArgs`.
https://github.com/commandlineparser/commandline/blob/d443a51aeb3a418425e970542b3b96e9da5f62e2/src/CommandLine/UnParserExtensions.cs#L230

(Of course, if it's possible to provide a `string UnParserExtensions.UnifyArgs(this IEnumerable args);`, it'd be even better!)

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

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

評価

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

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

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