Skip to content

anshumanv/boku

master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
bin
 
 
 
 
 
 
 
 
 
 
 
 

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

About

A personalised cli scaffolding tool -> npx boku

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published