Add a command to generate an empty custom template for extensibility
See original GitHub issueThe CLI should expose a command which generates an empty custom template for a framework, which can then be modified to become a full custom template.
The command should allow for framework selection: react
, ng
, jquery
.
Issue Analytics
- State:
- Created 6 years ago
- Reactions:1
- Comments:6 (4 by maintainers)
Top Results From Across the Web
Your first extension | Visual Studio Extensibility Cookbook
Use the Empty VSIX Project (Community) or VSIX Project (Community) templates for MEF-only extensions or other advanced scenarios. This time, we' ...
Read more >VSIX Project Template - Visual Studio (Windows)
Create a VSIX project by using the VSIX Project template. Source.extension.vsixmanifest opens in Manifest Designer. On the Assets tab, choose ...
Read more >Commands (3 of 7) | Visual Studio Extensions - YouTube
Writing a VisualStudio. Extensibility Extension: Commands (3 of 7) | Visual Studio Extensions ; 0:00 – Introduction ; 1:05 – What is a...
Read more >VSXReloaded— Part #2: Creating an Empty Visual Studio ...
To create your first package, follow these steps: ... In the templates category, select Visual C#, Windows, and then, Extensibility.
Read more >Using the .Net Core Template Engine to Create Custom ...
You could create an empty web project, an MVC project, ... To add a new custom template, use the dotnet new --install {template}...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
ig generate template [name]
: Generates custom template in the working folder and the global CLI config file.generate
: aliasg
.template
: aliast
name
: Creates a folder and fills in the id/name. It is optional. Default value is “custom-template”.--framework=<framework>:
alias-f
. Selects framework. Default is “jquery”.--type=<type>
: alias-t
. Selects the type of the project (framework dependent). Default is “jquery-js”.--skip-config
. Skips registering generated path in the global CLI config. Creates the template in the working folder only.@sbozalieva I vote for
ig generate template
-like version or even simplyig custom-template
if we don’t plan on future generate additions. So far it looks like two commands (likeconfig
), where the main is:> ig generate
generate
: aliasg
?And the only sub-command available for now would be:
> ig generate
template [name]
template
: - aliast
?name
: Crates folder and applies to id/name. Can be optional with default value of “Custom Template”--framework=<framework>
: Select framework. Default “jquery” like the CLI?--projType=<type>
: Project type (dep. on framework) to generate tempalte for. Default “jquery-js” like the CLI?--skip-config
: Skip registering generated path in the global CLI config