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.

Add a command to generate an empty custom template for extensibility

See original GitHub issue

The 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:closed
  • Created 6 years ago
  • Reactions:1
  • Comments:6 (4 by maintainers)

github_iconTop GitHub Comments

4reactions
sbozalievacommented, Feb 15, 2018

ig generate template [name]: Generates custom template in the working folder and the global CLI config file.

  • generate: alias g.

  • template: alias t

  • 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.

3reactions
damyanpetevcommented, Feb 14, 2018

@sbozalieva I vote for ig generate template-like version or even simply ig custom-template if we don’t plan on future generate additions. So far it looks like two commands (like config), where the main is: > ig generate

  • generate: alias g?
  • default to template sub-command?

And the only sub-command available for now would be: > ig generate template [name]

  • template: - alias t?
  • 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
Read more comments on GitHub >

github_iconTop 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 >

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