commandlineparser / commandlineparser/commandline

Configure name, version, and copyright info printed text

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

説明

I have a C# app composed of multiple projects. The entry point is called `CLI`.

[Following the example on the front page](https://github.com/commandlineparser/commandline#c-examples), it looks like I'm forced to print this every time my app is called:
```
CLI 1.0.0
Copyright (C) 2021 CLI
```

However I don't want to print the name of the assembly - nor do I want to print copyright info and version info - I'd rather handle that myself.

Is it possible to inject this information? I tried disabling it, but it looks like that will disable the help text also - which isn't what I want. (I tried this https://github.com/commandlineparser/commandline/wiki/Generating-Help-and-Usage-information#overriding-the-default-behavior).

I don't really want to mess with my assembly info just to print the accurate product name.

I find this to be a really odd default behavior.

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

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

評価

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

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

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