A scaffolding tool to generate personalised cli.
Soon!
$ npx boku
//=> Fill your info as per the prompt
//=> Push the generated code somewhere
//=> Publish the module
$ npm publish
//=> Run anywhere!
$ npx username
OR
$ npm i -g boku
$ boku
//=> Push and publish
-
Presently the image is fetched from the GitHub API of the provided username.
-
To use a custom image from url, simply swap out the image url
avatar_url
. -
To use an image file,
const path = require('path);
.
.
terminalImage.file(path.join(__dirname, 'image_name.xyz'))
.
.
termImg.file(path.join(__dirname, 'image_name.xyz'), { fallback })
The handlebars template which is scaffolded out is here.
- Amazing boku no hero academia artwork by Fazendaaa. 🆒
- Template heavily inspired from the sindresorhus cli. 🙏
Found a bug? please create an issue