Open damusix opened 3 years ago
Perhaps the content output from hpal make
would be a good starting point. If you want to access that programmatically, today you could do this:
const HauteCouture = require('@hapipal/haute-couture');
const Print = require('@hapipal/hpal/lib/print');
const route = HauteCouture.amendment('route');
console.log(Print.example(route.example));
I don't think it would be a problem to add hpal's example()
to its public API.
My team and I have a mess of our own vscode snippets for all things Hapi / Hapipal. I think it'd be nice if hapipal (and hapi) had official vscode snippets in the extensions marketplace. Perhaps a repo to contibute to would be nice as well. Here are mine: