I wanted to build some plugins for my cli application and I created a project in typescript.
In the file extensions/my-extension.ts I do
import { GluegunToolbox } from "gluegun"
export default function attach(toolbox: GluegunToolbox) {
console.log(toolbox.commandName);
}
in my cli project I install my newly created plugin. It seems to me that the extension is not loaded as the console.log does not appear anywhere.
Does anyone have an example on how to create plugins in typescript?
Hi there,
I wanted to build some plugins for my cli application and I created a project in typescript. In the file
extensions/my-extension.ts
I doin my cli project I install my newly created plugin. It seems to me that the extension is not loaded as the console.log does not appear anywhere. Does anyone have an example on how to create plugins in typescript?