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

Generate javadoc comments from command line

EDIT (Again to emphasize that this is planned to be used on getters and setters model classes that are completely fine with auto-generated comments that will not bring any value. So please give info if you know tool or way to do this, do not go into…
Lipton
  • 53
  • 7
1
vote
3 answers

How to generate the DDL for all the Users in a Snowflake Account?

Is there a way to get the DDL for all the users in a Snowflake Account ? I see the following URL says there are about 10 items that the get_ddl supports currently : https://docs.snowflake.net/manuals/sql-reference/functions/get_ddl.html If there's…
Jitz
  • 11
  • 1
1
vote
3 answers

How to generate an error if a number appears more than once in a list

I have a list [0, 0, 1, 0, 1, 2, 0, 2, 3] and I want to find a way to generate an error if a number is repeated in the list. So, I know that Collections.frequency can count how many time a number is found in a list. if…
Natacha BK
  • 137
  • 1
  • 8
1
vote
2 answers

How to auto Generate class based objects iOS Swift

sorry I couldn't get the code snippet to work properly. Didn't know how to get it to recognise Swift. My issue is that I have a class called "Crewman" and I want to generate 25 objects based off of this class within the function "generateCrew". (I…
1
vote
2 answers

Python Problem with generating a list with information from another list

I want to generate a list with python that is based on information from another list. Following example should demonstrate what information I want to transfer: Following list is…
Lana
  • 19
  • 2
1
vote
1 answer

DataBinderMapperImpl cannot find symbol for ActivityLoginBinding

I created Login Activity. but login binding file cannot generate. "error cannot find symbol ActivityLoginBindingImpl in DataBinderMapperImpl. what can I add ? It should generate itself…
CEng
  • 53
  • 7
1
vote
3 answers

Generating a date in a table SQL

I have a database in SQL which contains information about students and books they are borrowing. I have a table of loans which includes the book_id, the student_id, the day the book was taken and the number of days the book can be kept. I want to…
user11193267
1
vote
2 answers

how to add a variable in a dictionary with several dataframes?

I have a dictionary with several dataframes that looks like this: dataframes = {'Df_20100101': DataFrame, 'Df_20100102': DataFrame, 'Df_20100103': DataFrame} The keyname for each dataframe is composed by Df_ followed by the date 2010 [year],…
Antoine Fa
  • 61
  • 5
1
vote
2 answers

How to add a Fields on click of button in flutter

how to add text field when I click on add button. which is in the App bar. when I click on the add button it will add FOur field which I have already created in this Example code I've tried. SO please can anyone help. Your help can make my day…
Rutvik Gumasana
  • 1,458
  • 11
  • 42
  • 66
1
vote
1 answer

Create a Download link with user input placed in the middle of link

I wish to generate a download link button with user input replacing certain text in the link it's self. http://linkhere/folder/foder/folder/InvoiceEnquiry.action?getPDF=&invoiceNumber=(User input result placed here)&criteria.invoiceType=INVOICE Is…
1
vote
1 answer

How do I populate Image gallery using PHP on html page, including image code/classes either side?

I am creating a webpage that has a photo gallery, which is a lightbox, that uses a lot of images - around 80-150 per page. The number of the images changes week by week, and I would like to have the website automatically populate the image gallery…
emmy
  • 33
  • 4
1
vote
0 answers

Generate XSD with annotation and documentation from XML

I have found some tools to generate XSD files from XML files. For example https://www.freeformatter.com/xsd-generator.html I have also found some ways of using XSLT to create HTML Documentation such as the xs3p stylesheet, and im using Saxonica to…
Arto Uusikangas
  • 1,889
  • 5
  • 20
  • 33
1
vote
1 answer

How to combine 5 PDFs in one in the same page

I'm generating a lot of PDFs and for each 5 PDFs, I want to combine then on one page. from pypdf import PdfMerger merger = PdfMerger() for pdf in ["out_mitry.pdf", "out_cdg.pdf"]: …
Med
  • 177
  • 1
  • 1
  • 8
1
vote
1 answer

How to generate controller/models/views inside lib folder? (Ruby on Rails)

I'm kind of new to ruby and I encountered this problem. rails generate model whatever creates some files inside the /app/models/ folder. But what if I want to generate those inside lib for example in /lib/modules/monitor/app/ I've been searching…
1
vote
2 answers

Using JavaScript, how to generate a randm 11 char string following these param/rules? (L,L,L,L/N,L/N,N,N,N,N,N,N)

I am trying to figure out, using Javascript, how to generate a RANDOM 11 character string which requires a specific sequence of letters/numbers, in regards to position. ----------------------------------------------------------------------- Example…