question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Command line support to find template packs

See original GitHub issue

Now that we have support for --install and --uninstall we should add support to find new template packs from the command line.

Initial thoughts:

  • Create dotnet new --search
  • Update dotnet new --install to support searching for a template

Let’s discuss more and come up with a proposal when we have time.

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Reactions:2
  • Comments:9 (5 by maintainers)

github_iconTop GitHub Comments

2reactions
rwkargcommented, Sep 12, 2019

We have the same issue with an internal NuGet feed that we host templates on. dotnet new --update-check does not return available updates for a template but dotnet new -i <template_name>::<latest_version> does update with the latest_version of the template.

0reactions
bekir-ozturkcommented, Jun 1, 2021

dotnet new --search was implemented in 5.0.300. Closing this issue.

Read more comments on GitHub >

github_iconTop Results From Across the Web

dotnet new list - .NET CLI
The dotnet new list command lists available templates. ... To find templates in NuGet that you can install locally, use the search command....
Read more >
Install and manage SDK templates - .NET
Install template​​ Template packages are installed through the dotnet new install SDK command. You can either provide the NuGet package ...
Read more >
1 Overview of the Pack and Unpack Commands
The pack and unpack commands provide a one-step method for creating WebLogic domains and templates from the command line. These commands are available...
Read more >
How to install and use a project template using dotnet CLI
Unzip the .zip. then in your terminal, navigate to the template folder (it should contain a folder named .template.config ).
Read more >
New Command Line Interface Automation Templates ...
Automation Templates help admins find and leverage scripts to easily automate repetitive tasks such as provisioning new users, creating ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found