Open PierreDemailly opened 6 months ago
The local demo.js is not practical because the user must clone the repository.
I think we can remove it, here is what we can do instead:
@topcli/prompts-demo
npx @inquirer/demo
Note: i also thought about a new flag / command (for instance npx @topcli/prompts --demo) but it would pollute the repo.
npx @topcli/prompts --demo
Creating a package just for that seems a bit too much
The local demo.js is not practical because the user must clone the repository.
I think we can remove it, here is what we can do instead:
@topcli/prompts-demo
?), example:npx @inquirer/demo
(using npm workspaces)Note: i also thought about a new flag / command (for instance
npx @topcli/prompts --demo
) but it would pollute the repo.