Skip to content

Enable listing of installed packages via dotnet new --list --by-package #2908

@vlada-shubina

Description

@vlada-shubina

At the moment currently installed packages can be listed using dotnet new -u option, which is counterintuitive.
Replace it with dotnet --list --by-package

The output should not be changed for the moment: though it's not very user friendly, it delivers all needed information.

Example of current output

Currently installed items:
  WebSharper.Templates
    Version: 4.7.0.395
    Details:
      Author: IntelliFactory
    Templates:
      WebSharper 4 Client-Server Application (websharper-web) C#
      WebSharper 4 Client-Server Application (websharper-web) F#
      WebSharper 4 Extension (websharper-ext) F#
      WebSharper 4 Library (websharper-lib) C#
      WebSharper 4 Library (websharper-lib) F#
      WebSharper 4 Html Site (websharper-html) C#
      WebSharper 4 Html Site (websharper-html) F#
      WebSharper 4 Proxy (websharper-prx) C#
      WebSharper 4 Proxy (websharper-prx) F#
      WebSharper 4 Single Page Application (websharper-spa) C#
      WebSharper 4 Single Page Application (websharper-spa) F#
    Uninstall Command:
      dotnet new3 -u WebSharper.Templates

  Microsoft.Azure.WebJobs.ItemTemplates
    Version: 3.1.1648
    Details:
      Author: Microsoft
    Templates:
      QueueTrigger (queue) C#
      HttpTrigger (http) C#
      BlobTrigger (blob) C#
      TimerTrigger (timer) C#
      DurableFunctionsOrchestration (durable) C#
      SendGrid (sendgrid) C#
      EventHubTrigger (eventhub) C#
      ServiceBusQueueTrigger (squeue) C#
      ServiceBusTopicTrigger (stopic) C#
      EventGridTrigger (eventgrid) C#
      IotHubTrigger (iothub) C#
      CosmosDBTrigger (cosmos) C#
      HttpTrigger (Http) F#
      BlobTrigger (Blob) F#
      CosmosDBTrigger (CosmosDB) F#
      EventHubTrigger (eventhub) F#
      TimerTrigger (Timer) F#
      SignalRTrigger (signalr) C#
      RabbitMQTrigger (rqueue) C#
    Uninstall Command:
      dotnet new3 -u Microsoft.Azure.WebJobs.ItemTemplates

  Take.Blip.Client.Templates
    Version: 0.5.285
    Details:
      Author: take
    Templates:
      BLiP Console (.NET Core) (blip-console) C#
      BLiP Web (ASP.NET Core) (blip-web) C#
    Uninstall Command:
      dotnet new3 -u Take.Blip.Client.Templates

  Uno.ProjectTemplates.Dotnet
    Version: 3.5.1
    Details:
      Author: nventive
    Templates:
      Cross-Platform App (unoapp) C#
      Cross-Platform App (Prism) (unoapp-prism) C#
      Cross-Platform UI Tests Library (unoapp-uitest) C#
      Cross-Platform App (WinUI) (unoapp-winui) C#
      Cross-Platform Library (unolib) C#
      Cross-Runtime Library (unolib-crossruntime) C#
      Uno Platform WebAssembly Head for Xamarin.Forms (wasmxfhead) C#
    Uninstall Command:
      dotnet new3 -u Uno.ProjectTemplates.Dotnet

Metadata

Metadata

Assignees

No one assigned

    Labels

    Priority:3Work that is nice to havearea: CLIRelated to dotnet new CLI (usually dotnet/TemplateEngine.CLI source code)featureThe issue defines new feature.triagedThe issue was evaluated by the triage team, placed on correct area, next action defined.

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions