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
0
votes
0 answers

Laravel model generator for MS SQL Server database

do you guys know Reliese Laravel Model Generator ? its for generate Models that have correctly typed properties, along with any relationships to other Models https://github.com/reliese/laravel but that package only for MySQL, i cant find a similar…
M Andre Juliansyah
  • 117
  • 1
  • 2
  • 14
0
votes
1 answer

How to generate variable based on conditions across multiple variables with by:?

I'm trying to generate a new variable using a by: prefix based on conditions across multiple observations. So for a given group (let's say ID #1) there could be 10 observations, and I want to make a new variable based on two conditions (e.g., does…
user21284233
0
votes
0 answers

Generating Graphs like plantuml or mermaid from markdown?

I want to create graphs like this, as best in the style we see in the pictures. Every Node should contain a link to another page. How can I achieve this? Esp. with the nice style. I have tried to do this with plantuml and mermaid but didn't get…
0
votes
2 answers

generate JSON file content

I am a beginner with JSON. I have the following in my JSON file (file-1) : { "Aps": [ { "type": "opo", "price_min": 7, "price_max":10, "app_time": 0, "arguments": { …
jojo
  • 35
  • 5
0
votes
0 answers

macOS objective C generate keyboard events keystroke with repeat

How to generate keystroke with repeat in macOS application with objective-c? I already manage to generate the keystroke: CGEventRef keyup, keydown; uint64_t keyModifier=0; VK = kVK_RightArrow; keyModifier = 0; keydown = CGEventCreateKeyboardEvent…
gus2000
  • 1
  • 1
0
votes
2 answers

Generate a 32 character random string using XSLT

I have a requirement wherein I need to generate a 32-character random string value using XSLT containing upper case letters, lower case letters & numbers. I am using the below code for this right now, however, the values generated are too similar…
megrao1811
  • 21
  • 2
0
votes
0 answers

JSON GENERATE in COBOL module - need to take data from a table and have it generate into a single object with values

I need to go from this: 15 benefitStageAmountsMap OCCURS 4 TIMES. 20 BEN-STG-QUL PIC X(02). 20 BEN-STG-AMT PIC S9(06)V9(02). to this: "benefitStageAmountsMap": { "09": "5", "01": "1.2", "02": "3.4", "03": "4.5" without the field…
0
votes
0 answers

Generate one Id column included in composite Primary Keys in JPA, while one Id starts from 1 when the other Id column changes

The entity A has an OneToMany relation with the entity B. I would like to use a composite primary key for the entity B, where one of the columns is the same as the the primary key of the entity A and the second column should be generated. How can…
0
votes
0 answers

Generate every odd days in specified period

Technology: NodeJS. Problem: "how do I prepare the meeting date every odd or even days for the specified period in this way" Thanks in advance, it would help me a lot if you could give me an example or direction on this. let create = { start_date:…
0
votes
0 answers

How can I add back the OnInit lifecycle hook and constructor when generating a component in Angular 15?

I know it has been removed in the latest version, so you can add it manually, but i don't really want do copy and paste everytime I generate a component. I've already found something at this link, but i can't seem to find the files. What should i…
0
votes
0 answers

Sampling through joint probability table

I'm trying to create a generated dataset through a joint probability table (for example 10% of the total dataset containing $10,000 salary and none for education). But also the distribution needs to include the probability from a second joint…
0
votes
0 answers

generate all binary matrix with given rows sum and columns sum

I'm trying to program an algoritmn with python which generate all the binary matrix (m row , n column) that we know sum of rows and sum of columns ... I tried few trials but I found that it was not valid . Someone can guide me please ! I tried to…
siwar
  • 1
0
votes
0 answers

Export test results to excel using Robot Framework using rebot

I have used a robot framework, which generates the output in xml format , is there a way for craete output in excel format? rebot --name "Tests on ${TEST__IP}" --metadata "Notice:${MESSAGE}" --metadata "${_VERSION}" --metadata "${VERSION}" --output…
0
votes
0 answers

How to generate code style file from checkstyle xml file

I can't find a solution for: how to generate code style file (for Intellij) from a checkstyle xml file. Anybody know how to do that ? I have tried that solution: How to generate an Eclipse formatter configuration from a checkstyle configuration? but…
Pazz
  • 19
  • 2
0
votes
1 answer

How to copy an external image (from a XML flow) in Nuxt when running generate?

For a project, I'm trying to import images from a remote source and copy them in my static folder (I'm not sure which one is better between static or assets) as I generate my routes, so I can use them locally as part of the nuxt build process. So in…
davidgourdet
  • 73
  • 1
  • 6