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
{{ message }}
This repository was archived by the owner on Jan 12, 2024. It is now read-only.
tpl alias could not work, looks like yo does not support more than one character for alias.
this.option('template', {
alias: 'tpl',
description: 'Generate from template',
type: String,
});
t alias appears 2 times, it will cause the theia-version is set with the value of pluginType in generated package.json
this.option('pluginType', {
alias: 't',
this.option('theia-version', {
alias: 't',
suggestion:
I just tried replacing tpl with T and replacing the second t with V, and it could work.
The command line I used:
yo @theia/plugin:app theia-hello-world-plugin -t backend -T hello-world
and
yo @theia/plugin:app theia-hello-world-plugin -t backend -T hello-world -V latest
Both of them worked fine.