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
1 answer

how to disable update a model when saving diagram in mvc

I already have an existing model and I modified them. But when I edit and save the diagram, MVC regenerates the model and deletes my modifications. I don't want that, how to disable this function? [RegularExpression("([1-9][0-9]*)",ErrorMessage =…
0
votes
1 answer

Django dynamic create form based on dropdown select

I'm working on with Django, question and how to, is there any way to generate dynamic form based on the dropdown selection? My form is really simple, user will need to update device information. Instead of submitting one form at a time, I would…
miu
  • 189
  • 2
  • 13
0
votes
1 answer

Python Generate some instances using predefined class

Using class NickNames, needed to generate some number of instances using this class where id should be - increment, nicks - should be randomly picked from the list and timestamp should take current timestamp and store the output into list Curently i…
kvcha
  • 19
  • 4
0
votes
0 answers

Error message with nuxt on npm-run-generate

I'm building a nuxt site in VS Code, which works fine on localhost:3000. It's set up as a universal app in nuxt.config.js - but when I run npm run generate to create the distribution files to upload to my actual webhost, I'm getting an error that…
Rob
  • 1
0
votes
0 answers

How to Generate PHP URL with login information

I want to generate a url thats points to a php file on the server The url must be generated from login information entered namely clientID(4 digits) ,Username and password, the url must then be calles into a server path string in the code I am…
0
votes
2 answers

Is there a way to generate TeamViewer Passwords in Excel?

I am attempting to make Excel generate a 6-character password string, exactly like TeamViewer (3 letters, 3 numbers). Is there a function I might be unaware of? I have tried…
0
votes
0 answers

Generate data with Fakeit

I'm using fakeit to generate data, but when I type the command "fakeit console user.yaml" I got this error below. I don't know what the problem is. I searched about it on net but I didn't find the solution for this issue. ✖ Models (0/1) …
Farah
  • 45
  • 2
0
votes
1 answer

Assigning values to signals within for-generate statements

I cannot figure out why the signal assignment for "sig2" in the following example won't happen successfully, while for "sig1" it does. With the rising clock edge "sig2" becomes 'X'! What is the reason? library IEEE; use IEEE.STD_LOGIC_1164.ALL; use…
AR_Hasani
  • 109
  • 1
  • 1
  • 6
0
votes
0 answers

How to generate unique incrementing and non-repeating integer in a specific range using datetime info in C#

I want to generate counter value. Counter value should be in specific range (for example: 0x1FFF000 - 0x1FFFFFF) and with every execution generated counter value should be greater than previous value with higher bound of max range. Also, since…
0
votes
1 answer

inDesign CC: Adding pages with master spread to document using script

I'm new to coding with inDesign and am at a loss for how to achieve this... Basically I need to generate 50+ brochure range sheets. It's a document that catalogues products using data merging from a .csv file. What I need to save me time is a…
0
votes
0 answers

Maven Archetype - Generate Dirs Hierarchy Without Project Name

The package name in the class will be generated correctly, but the generated dirs hierarchy always includes the project name which is wrong as shown below, how to avoid it? package ${groupId}; public class Main { } -
0
votes
1 answer

generate random value form other field value in Django

I have a booking system for bank line : this is my model for the customer: class Customer(models.Model): customer_bank = models.ForeignKey('Bank', on_delete=models.SET_NULL,related_name='coustmer_bank' ,null=True) customer_branch =…
Mhadi Ahmed
  • 25
  • 1
  • 8
0
votes
0 answers

How to Generate a csv file in python 3.7

I have a problem where I have to fetch the data through API calls using Python. I have the data. Now I have to convert it to a csv file. We do not have to use numpy or panda. We can only use "Import collections" to generate csv file. I am a…
hdhax
  • 1
  • 1
0
votes
1 answer

How do I generate a unique code based on the content?

Picture that you're typing in a input. For each character you add (including special characters, like @ . # ¤ % & ~ and so on), a unique code will generate based on the content. Not a hash! This unique code will only be 20 characters…
Airikr
  • 6,258
  • 15
  • 59
  • 110
0
votes
0 answers

How to replace a string with a generated number in multiple text files automated and save them named as the value?

I have javascript file named w1.js, in the code there is a var IDInput = '1'; . I would like to generate few hundred .js files, changing only that value and save them as separate file. Like: w2.js file with var IDInput = '2'; w3.js file with var…
Gaal Csaba
  • 37
  • 5