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

LocalDateTime is converted to OffsetDateTime in client

This is my code to send to the client: @DateTimeFormat(pattern = FormatConstants.DEFAULT_DATE_FORMAT) private LocalDateTime finalizationDate; when i generate client with swagger,apicodegen it creates jar for our customer and that variable becomes…
vegan
  • 117
  • 1
  • 11
3
votes
1 answer

how to generate c# class from sql multiple tables (related tables with foreign keys)

I would like to generate C# class from sql queries. I can do it just for a table, but i have a header table and more than one detail tables. I' d like to generate classes for all of them and they are related with pk and fk's.
Zulbahar
  • 33
  • 4
3
votes
1 answer

Why does maven not generate sources from test-classes?

I have some test-classes using Querydsl for my unit tests. Querydsl normally generates a query type class but if the classes are in the test directory the class will not be generated. As soon as I put the files in the src/main and compile with maven…
subsauber
  • 31
  • 3
2
votes
0 answers

Got some error when generate Graphql with gqlgen

I get an error when I try to generate schema in gqlgen : type : go run github.com/99designs/gqlgen generate Errors : ..\..\..\..\..\go\pkg\mod\github.com\99designs\gqlgen@v0.17.33\main.go:20:2: missing go.sum entry for module providing package…
2
votes
1 answer

how can i draw qr code on Qwidget i'm using qt creator c++ on windows 10

i found multiple libraries on stackoverflow but i'm not familiar with libraries and how to include them in my project. for example i saw https://fukuchi.org/works/qrencode/ getting recomended but i don't get how can i include it in my project while…
2
votes
1 answer

Generate a sequence of square numbers till 10

How to generate a sequence of SQUARE numbers till 10 in MYSQL? (1^2,2^2, etc) I was only able to generate a numerical sequence from 1 to 10. WITH RECURSIVE cte (n) AS ( SELECT 1 UNION ALL SELECT (n + 1) FROM cte WHERE n < 10 ) SELECT n FROM…
Mouse12328
  • 23
  • 3
2
votes
1 answer

How to generate GPS coordinates (Lat and Long) from GPS initial point

an exercise that is not so easy for me. Let me explain briefly: I want to generate/simulate drone-generated GPS coordinates by interpolating between two points(only A is known). That is, knowing the initial lat and long coordinates, the drone speed…
gcicceri
  • 33
  • 3
2
votes
2 answers

How do you generate a struct dynamically at compile time in Rust?

I have the following: struct Health { health: f32, } struct Position { position: Vec2, } struct Collections { healths: Vec, positions: Vec, } I would like to generate the Collections struct automatically; I am thinking…
Pineapple
  • 33
  • 4
2
votes
1 answer

SQL to JSON - Grouping Results into JSON Array combine columns

In SQL Server I have a table with columns (a, b, c, name1, address1, phonenumber1, name2, address2, phonenumber2). I want to generate JSON for a row like: { "a" : value_column_a, "b" : value_column_b, "c" : value_column_c, "contacts":…
Huong Tran
  • 41
  • 7
2
votes
0 answers

Google Services Gradle Plugin not generating resources from json

Problem started suddenly and seems to be not related to any change that happened in code around its first occurance. We have automated CI workflow that prepares RC. At first every second build worked. Now I had to rebuild RC 7 times to get app that…
Kostek
  • 147
  • 13
2
votes
0 answers

MDX Query using generate function and calculated members

I've been trying to solve this query for a while but I don't understand where I'm wrong. The questions of the query is this one: Show the winners having a total winner rank points greater than the average winner rank points in each continent by…
2
votes
1 answer

R How to Generate Sequences in a Tibble Given Start and End Points

I can't think how to do this in a tidy fashion. I have a table as follows: tibble( Min = c(1, 5, 12, 13, 19), Max = c(3, 11, 12, 14, 19), Value = c("a", "bb", "c", "d", "e" ) ) and I want to generate another table from it as shown…
James Bejon
  • 189
  • 5
2
votes
1 answer

How to write a txt file by using php which variable is get from Javascript

I want to write a txt file which format from latitude, longitude become to latitude longitude how can I achieve it? html:
Quenton
  • 23
  • 4
2
votes
1 answer

Generate data with at least one occurence

I have three tables: create table genres ( genre_id serial primary key, genre_name varchar NOT NULL UNIQUE ); create table movies ( movie_id serial primary key, movie_name varchar NOT NULL ); create table movie_genres ( movie_id integer…
abc
  • 39
  • 4
2
votes
1 answer

generating pdf using mpdf how can I generate multiple pdf in PHP

I am using the mpdf library for generating the pdf, how can I generate multiple pdf using this library. include '../libs/mpdf/vendor/autoload.php'; for ($i=1; $i
Hadayat Niazi
  • 1,991
  • 3
  • 16
  • 28
1
2
3
24 25