You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Accept arguments/options and call Yeoman generator without user needing to install and use 'yo' keyword.
* See https://yeoman.io/authoring/integrating-yeoman.html for more info.
*/
import minimist from "minimist";
import { createEnv } from "yeoman-environment";
import { createRequire } from "module";
const require = createRequire(import.meta.url);
const argv = minimist(process.argv.slice(2)); // Read all CLI args
const argsList = argv._; // Pick out only arguments (productname and directory name)
/**
* Wrap each argument in double-quotes so they are not split incorrectly
* You may think there should be a space between each quoted argument, but you would be wrong.
* Even though you would normally put a space between each quoted argument, putting one here causes extra, empty arguments to be read by Yo for some reason.