Skip to content

Latest commit

 

History

History
90 lines (53 loc) · 1.99 KB

README.md

File metadata and controls

90 lines (53 loc) · 1.99 KB

boku

A scaffolding tool to generate personalised cli.

Demo

Soon!

Usage

$ 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

Image

  • 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 })

Uses

The handlebars template which is scaffolded out is here.

Thanks

Author

Anshuman Verma

Contribute

Found a bug? please create an issue