Questions tagged [generate]

Any question related to the Generate developer framework and CLI tool should tagged using the `generate` tag. How to use the generate CLI to run this generator ? How to use this generator as a plugin ? How to run a task from a subgenerator ? How to create my own Generate generator ?

What is generate ?

Generate is an extremely modern command line tool and developer framework for scaffolding out any kind of developer projects. Generate offers the robustness and configurability of Yeoman, the expressiveness and simplicity of Slush, and more powerful flow control and composability than either.

It is an open source framework hosted on github under the MIT license.

It has its own Github organization to namespace all the generators authored by the same author, Jon Schlinkert.

Generate is part of the awesome node toolkit created by the same author: https://github.com/node-toolkit

Some of the best related projects composing the node-toolkit:

Related StackOverflow tags

371 questions
2
votes
1 answer

liqubase: generate sql script from changelog xml without db connection

I have a liqubase changelog.xml. It includes few "include file" with changes. For example, base script with creating a table and another one with adding a new field to this table. Could I get sql-script with one "create table..." statement, which…
pevgen
  • 151
  • 2
  • 12
2
votes
0 answers

Resharper Create Property for multiple properties

Resharper Code Generation offers to write property names which at-the-time-of-writing do not exist in the respective class. If I select the context action menu "Create property..." I can easily generate the code for it. Question: How can I generate…
thomasgalliker
  • 1,279
  • 13
  • 19
1
vote
0 answers

while creating new ionic project in angular not generating module.ts and app-routing.module.ts files in the project

while creating ionic project with ionic start and followed by angular framework and choosing blank page, the app-routing.module.ts and app.module.ts file is missing. previously it does while creating a project and even when generating a page it…
VineethK
  • 11
  • 2
1
vote
1 answer

Create loop to generate multiple plots from multiple dataframes for several designated factor names in r

best wishes for the new year. I have a question...I would like to create a loop to generate multiple plots from multiple dataframes for several designated factor names in r. I have different dataset with the same fish species. There are more than 50…
Suusie
  • 149
  • 9
1
vote
3 answers

Generate 2 sets of random numbers for lottery game c#

I have a lottery game where I can generate 1 set of 6 numbers.I am trying to generate two sets of 6 numbers but am unable to do so. public static void LottoDraw() { int[] lotto = new int[6]; Random…
1
vote
1 answer

How to get Information from new Objects

how can i get Information (like Locations, Name, Size, etc.) from new Objects. public class Labelerzeugungklasse extends JLabel { public Labelerzeugungklasse(String name, int x, int y, ImageIcon icon) { new JLabel(name); …
JustinGolz
  • 13
  • 3
1
vote
1 answer

Generating new instance of struct from scanner input

I was attempting to run a program that created a new instance of a predefined struct from the users input. The struct is comprised of 3 fields type string. The goal being for the user to input strings into a scanner, creating a new, unique instance…
CodeDragon
  • 29
  • 7
1
vote
2 answers

Generate encoded docket number from two integers and decode it

I am trying to generate encoded docket number from storeId and transactionId. Encoded docket number has to be unique, length should be <=9 and easy to read/copy for users as well. The maximum length of storeId is 3 and maximum length of…
1
vote
1 answer

How do I make the first number bigger?

I'm working on a game for my kids and I may end up posting this game online at a later date if it's fully functional. But I'm working on a math deal. Basically it generates 2 random numbers 0-4 and they have to subtract and choose the correct…
1
vote
0 answers

How to Nuxt Generate in Development Mode

I would like to run nuxt generate in development mode. Everything I've tried still runs as production. What I need: To disable webpack/minify processing of source so I can see where actual errors are occurring. Nuxt Generate forces to production…
Rich Clingman
  • 106
  • 1
  • 8
1
vote
1 answer

Delphi - Alexandria - Generate Android App Bundle file not found in Options

I'm using Alexandria (RAD Studio 11.1) but when I try to configure my Android 64 bit project in the Options > Building > Delphi Compiler > Compiling options. After select "All configurations - Android 64-bit platform" as the active target, I don't…
Seldon
  • 11
  • 1
1
vote
0 answers

Flutter Moor - How to get nullsafe GeneratedColumn?

The generic data type of a GeneratedColumn is always nullable, regardless of whether its definition has nullable() or not. It doesn't even make a difference whether I use TextColumn or Column (and similar). Example: db.dart: import…
Stacky
  • 875
  • 9
  • 24
1
vote
1 answer

How to use bootstrap with xhtml2pdf?

I need to render PDF files dynamically in a Django web app. I understand there are 2 options : Render an html template file then convert it to a PDF file. I used xhtml2pdf Python library. The issue is that the template I want to use has bootstrap…
1
vote
1 answer

Generating categorical variable

In my Stata data set, the "alternative" variable consists of 4 modes including pier, private, beach and charter. I want to generate new variable y as follows: We collapse the model to three alternatives and order the alternatives, with y = 0 if…
1190
  • 365
  • 2
  • 10
1
vote
0 answers

I am working in Generate REST API from SOAP Backend in wso2 APIM but its not working for me

My resource looks like this after creating my APIM using wsdl url
Dharshini
  • 11
  • 1