-
-
Notifications
You must be signed in to change notification settings - Fork 70
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Howto yeoman-environment to build a custom cli. #500
Comments
|
I'm getting some conflicting indicators in the prepareCommand types: /**
* Prepare a commander instance for cli support.
*
* @param generatorPaht - Generator to create Command
* @return Return a Command instance
*/
export declare const prepareCommand: (options: CommandPreparation) => Promise<YeomanCommand>; JSDOCS do not match types. When I try the import code you had above, I get A generator with namespace or a generator path is required |
https://github.com/yeoman/environment/blob/main/src/commands.ts#L27C1-L33C4 Indicates that |
This definitely doesn't do the same thing as calling yo as env isn't setup the same |
This issue is stale because it has been open with no activity. Remove stale label or comment or this will be closed |
How to use yeoman 4? I just want to run a generator that i have the filepath for
environment/test/command.js
Line 139 in 6bacec6
Environment.prepareEnvironment is not a function
Related to yeoman/yo#793 (comment)
The text was updated successfully, but these errors were encountered: