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
1
vote
0 answers

how to create and mail 2 csv files from 1 plsql procedure?

I'm able to create 1 CSV file from my plsql code basically i'm using 2 cursors to get data and then populating it to csv. But my Problem is since 1 csv is made or completed the 2nd cursor data also goes to the same csv file I want to put that into…
1
vote
4 answers

Generating username from first name and last name in excel

How can I generate usernames using First Word of first name, Last initial and Last 4 digit of Reference # and with no space or dash. First Name: John Franklin Last Name: Smith Turner Reference: 123456789 Email: johns6789@example.com…
MaSx
  • 11
  • 1
  • 3
1
vote
1 answer

How to generate multiple prestashop discounts/coupons?

I want to generate 100+ coupons for my prestashop 1.7 site, but i don't know how to to do it. Looks like there is now such possibility in backoffice. Thanks for help)
user2955324
  • 73
  • 1
  • 6
1
vote
1 answer

Error: expected file.path to export a function or instance

I creating a generator plugin named generate-swap-project for the generate generator tool. Let's first see: https://github.com/generate: A new command line tool and developer framework for scaffolding out GitHub projects. A more powerful,…
Rémi Becheras
  • 14,902
  • 14
  • 51
  • 81
0
votes
1 answer

How to generate REUSE/SPDX info for a git repo

Intro The REUSE tool from the REUSE project by the Free Software Foundation Europe allows to add, maintain and extract detailed copyright and licensing info on a fine-grained scale, and it does that using a format that is both human- and…
hoijui
  • 3,615
  • 2
  • 33
  • 41
0
votes
1 answer

generate condition in vhdl

I have a shift register in my top module called Rrg and I want to instantiate Sbox module when Rrg(1) = '1' in the called EnCore module. I have warnings: 1)Condition in IF GENERATE must be static. 2)Uninitialized out port Do has no driver. This port…
ghazalia
  • 63
  • 3
  • 9
0
votes
1 answer

Room annotation @Generated in auto generated code AppDatabase_Impl

After I launched the application, UserDao_impl and AppDatabase_impl generated by kapt automatically under builder folder reported the error. It says that Cannot resolve symbol 'Generated' Although it doesn't affect the effect of running because I…
Kartone
  • 31
  • 5
0
votes
0 answers

Java Spring for Graphql - Code-first - how to generate schema with dynamic input types

I want to generate GraphQL schema files from Java model, specifically for input operator filters for each field similar to https://www.mongodb.com/docs/atlas/app-services/graphql/types-and-resolvers/#std-label-graphql-input-types where it generates…
Stupify
  • 1
  • 2
0
votes
0 answers

database schema generation with eclipselink on openliberty: column "xxx" appears twice in primary key constraint

eclipselink tries to execute the following statement against a postgresql database: CREATE TABLE inventory.item (ID BIGINT NOT NULL, AVAILABLEUNITS BIGINT, NAME VARCHAR(255), VERSION SMALLINT NOT NULL, ID BIGINT NOT NULL, NAME VARCHAR(255), PRICE…
r-uu
  • 423
  • 1
  • 4
  • 18
0
votes
0 answers

Pyinstaller app can't find my generated files

I've created a Web interface where you upload CSV files, and as an output, a file is generated and downloaded from the browser. Locally, everything works fine, the file is generated in the same folder as the code. But from my app.exe, I get this…
HichamElk
  • 3
  • 3
0
votes
0 answers

Generate commands based on JSON file using the following structure

I am stuck with something and I cannot seem to find a solution to this. The JSON array below needs to be parsed and all the arguments appended in a command up untill the deepest level. { "commands": { "dth": { "authorization": [], …
0
votes
0 answers

Automatically generate QR Code and create PDF file in PHP

i want to create a dynamic PDF file. The file will be built by clicking the "download" button. In this PDF it should be generate a QR code. This code should also be add to the PDF file. Has anyone an idea which PHP libraries are best to use? And…
user19540948
0
votes
0 answers

How can I generate app password for nodemailer in webmail account?

How can I generate app password for node mailer in webmail account? I was searching for an option of security app password but was not able to find any such option in webmail.
0
votes
1 answer

Create new blank space on home screen : Android

i couldnt find anything on google and it being hard to describe: Android App Studio allows you to create an own App with its functions etc. i can then run the app on my own phone by connecting it with android studio. Android Studio then creates a…
Noch1User
  • 3
  • 1
0
votes
1 answer

mvn ear pluging generates 3 artifacts instead of 2

I want "the trick" in maven to avoid the "default generation" of artifacts. I have a pom.xml which generates three artifacts instead of two. In my pom.xml file I have: ... ear project-ear ... And here the…
y.z
  • 11
  • 6