foy
foy copied to clipboard
[Question] Having trouble using foy
Hi, I'm trying to use this library, but I'm having trouble with it. even with the basic example that Foy init gives, it does not work at all, which is
const { task, desc, option, fs } = require('foy')
task('build', async ctx => {
await ctx.exec('echo "hello world"')
})
and does not print at all. tried changing command to something simple, also does not work at all. Am I missing something here?
for more information, I'm using node@20.