Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,9 @@ internal static class ListPackageReferencesCommandParser
public static readonly Option FormatOption = new ForwardedOption<ReportOutputFormat>("--format", LocalizableStrings.CmdFormatDescription)
{ }.ForwardAsSingle(o => $"--format:{o}");

public static readonly Option OutputVersionOption = new ForwardedOption<int>("--output-version", LocalizableStrings.CmdOutputVersionDescription)
{ }.ForwardAsSingle(o => $"--output-version:{o}");

private static readonly Command Command = ConstructCommand();

public static Command GetCommand()
Expand All @@ -87,6 +90,7 @@ private static Command ConstructCommand()
command.AddOption(SourceOption);
command.AddOption(InteractiveOption);
command.AddOption(FormatOption);
command.AddOption(OutputVersionOption);

command.SetHandler((parseResult) => new ListPackageReferencesCommand(parseResult).Execute());

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -171,4 +171,7 @@
<data name="CmdFormatDescription" xml:space="preserve">
<value>Specifies the output format type for the list packages command.</value>
</data>
<data name="CmdOutputVersionDescription" xml:space="preserve">
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@dominoFire @nkolev92 @JonDouglas
Does wording look ok for you?

<value>Specifies the version of machine-readable output. Requires the '--format json' option.</value>
</data>
</root>
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,11 @@
<target state="translated">Vypíše balíčky, které mají novější verze. Nedá se kombinovat s možností --deprecated ani --vulnerable.</target>
<note />
</trans-unit>
<trans-unit id="CmdOutputVersionDescription">
<source>Specifies the version of machine-readable output. Requires the '--format json' option.</source>
<target state="new">Specifies the version of machine-readable output. Requires the '--format json' option.</target>
<note />
</trans-unit>
<trans-unit id="CmdTransitiveDescription">
<source>Lists transitive and top-level packages.</source>
<target state="translated">Vypíše seznam přenosných balíčků a balíčků nejvyšší úrovně.</target>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,11 @@
<target state="translated">Listet Pakete mit neueren Versionen auf. Kann nicht mit den Optionen "--deprecated" oder "--vulnerable" kombiniert werden.</target>
<note />
</trans-unit>
<trans-unit id="CmdOutputVersionDescription">
<source>Specifies the version of machine-readable output. Requires the '--format json' option.</source>
<target state="new">Specifies the version of machine-readable output. Requires the '--format json' option.</target>
<note />
</trans-unit>
<trans-unit id="CmdTransitiveDescription">
<source>Lists transitive and top-level packages.</source>
<target state="translated">Listet transitive Pakete und Pakete der obersten Ebene auf.</target>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,11 @@
<target state="translated">Muestra los paquetes que tienen versiones más recientes. No se puede combinar con las opciones '--deprecated" o "--vulnerable".</target>
<note />
</trans-unit>
<trans-unit id="CmdOutputVersionDescription">
<source>Specifies the version of machine-readable output. Requires the '--format json' option.</source>
<target state="new">Specifies the version of machine-readable output. Requires the '--format json' option.</target>
<note />
</trans-unit>
<trans-unit id="CmdTransitiveDescription">
<source>Lists transitive and top-level packages.</source>
<target state="translated">Contiene paquetes de transitivos y de nivel superior.</target>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,11 @@
<target state="translated">Liste les packages qui ont versions plus récentes. Impossible à combiner avec les options '--deprecated' ou '--vulnerable'.</target>
<note />
</trans-unit>
<trans-unit id="CmdOutputVersionDescription">
<source>Specifies the version of machine-readable output. Requires the '--format json' option.</source>
<target state="new">Specifies the version of machine-readable output. Requires the '--format json' option.</target>
<note />
</trans-unit>
<trans-unit id="CmdTransitiveDescription">
<source>Lists transitive and top-level packages.</source>
<target state="translated">Liste les packages transitifs et de niveau supérieur.</target>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,11 @@
<target state="translated">Elenca i pacchetti con versioni più recenti. Non può essere combinato con l'opzione '--deprecated' o '--vulnerable'.</target>
<note />
</trans-unit>
<trans-unit id="CmdOutputVersionDescription">
<source>Specifies the version of machine-readable output. Requires the '--format json' option.</source>
<target state="new">Specifies the version of machine-readable output. Requires the '--format json' option.</target>
<note />
</trans-unit>
<trans-unit id="CmdTransitiveDescription">
<source>Lists transitive and top-level packages.</source>
<target state="translated">Elenca i pacchetti transitivi e di primo livello.</target>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,11 @@
<target state="translated">新しいバージョンのパッケージを一覧表示します。'--deprecated' または '--vulnerable' オプションと組み合わせることはできません。</target>
<note />
</trans-unit>
<trans-unit id="CmdOutputVersionDescription">
<source>Specifies the version of machine-readable output. Requires the '--format json' option.</source>
<target state="new">Specifies the version of machine-readable output. Requires the '--format json' option.</target>
<note />
</trans-unit>
<trans-unit id="CmdTransitiveDescription">
<source>Lists transitive and top-level packages.</source>
<target state="translated">推移的なパッケージと最上位レベルのパッケージを一覧表示します。</target>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,11 @@
<target state="translated">최신 버전이 포함된 패키지를 나열합니다. '--deprecated' 또는 '--vulnerable' 옵션과 함께 사용할 수 없습니다.</target>
<note />
</trans-unit>
<trans-unit id="CmdOutputVersionDescription">
<source>Specifies the version of machine-readable output. Requires the '--format json' option.</source>
<target state="new">Specifies the version of machine-readable output. Requires the '--format json' option.</target>
<note />
</trans-unit>
<trans-unit id="CmdTransitiveDescription">
<source>Lists transitive and top-level packages.</source>
<target state="translated">전이적 패키지 및 최상위 패키지를 나열합니다.</target>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,11 @@
<target state="translated">Wyświetla pakiety, które mają nowszą wersję. Nie można łączyć z opcją „--deprecated” ani „--vulnerable”.</target>
<note />
</trans-unit>
<trans-unit id="CmdOutputVersionDescription">
<source>Specifies the version of machine-readable output. Requires the '--format json' option.</source>
<target state="new">Specifies the version of machine-readable output. Requires the '--format json' option.</target>
<note />
</trans-unit>
<trans-unit id="CmdTransitiveDescription">
<source>Lists transitive and top-level packages.</source>
<target state="translated">Zwraca listę pakietów przejściowych i pakietów najwyższego poziomu.</target>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,11 @@
<target state="translated">Lista os pacotes que têm versões mais recentes. Não pode ser combinado com a opção '--deprecated' nem com a opção '--vulnerable'.</target>
<note />
</trans-unit>
<trans-unit id="CmdOutputVersionDescription">
<source>Specifies the version of machine-readable output. Requires the '--format json' option.</source>
<target state="new">Specifies the version of machine-readable output. Requires the '--format json' option.</target>
<note />
</trans-unit>
<trans-unit id="CmdTransitiveDescription">
<source>Lists transitive and top-level packages.</source>
<target state="translated">Lista os pacotes de nível superior e transitivos.</target>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,11 @@
<target state="translated">Возвращает список пакетов, у которых есть более новые версии. Не может использоваться с параметрами "--deprecated" или "--vulnerable".</target>
<note />
</trans-unit>
<trans-unit id="CmdOutputVersionDescription">
<source>Specifies the version of machine-readable output. Requires the '--format json' option.</source>
<target state="new">Specifies the version of machine-readable output. Requires the '--format json' option.</target>
<note />
</trans-unit>
<trans-unit id="CmdTransitiveDescription">
<source>Lists transitive and top-level packages.</source>
<target state="translated">Список транзитивных пакетов и пакетов верхнего уровня.</target>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,11 @@
<target state="translated">Daha yeni sürümlere sahip paketleri listeler. '--deprecated' veya '--vulnerable' seçenekleriyle birleştirilemez.</target>
<note />
</trans-unit>
<trans-unit id="CmdOutputVersionDescription">
<source>Specifies the version of machine-readable output. Requires the '--format json' option.</source>
<target state="new">Specifies the version of machine-readable output. Requires the '--format json' option.</target>
<note />
</trans-unit>
<trans-unit id="CmdTransitiveDescription">
<source>Lists transitive and top-level packages.</source>
<target state="translated">Geçişli ve üst düzey paketleri listeler.</target>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,11 @@
<target state="translated">列出具有较新版本的包。不能与 "--deprecated" 或 "--vulnerable" 选项结合使用。</target>
<note />
</trans-unit>
<trans-unit id="CmdOutputVersionDescription">
<source>Specifies the version of machine-readable output. Requires the '--format json' option.</source>
<target state="new">Specifies the version of machine-readable output. Requires the '--format json' option.</target>
<note />
</trans-unit>
<trans-unit id="CmdTransitiveDescription">
<source>Lists transitive and top-level packages.</source>
<target state="translated">列出可传递的包和顶级包。</target>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,11 @@
<target state="translated">列出有更新版本的套件。無法與 '--deprecated' 或 '--vulnerable' 選項一併使用。</target>
<note />
</trans-unit>
<trans-unit id="CmdOutputVersionDescription">
<source>Specifies the version of machine-readable output. Requires the '--format json' option.</source>
<target state="new">Specifies the version of machine-readable output. Requires the '--format json' option.</target>
<note />
</trans-unit>
<trans-unit id="CmdTransitiveDescription">
<source>Lists transitive and top-level packages.</source>
<target state="translated">列出可轉移和頂層套件。</target>
Expand Down