{"repo":"craigmulligan/js-fire","free":true,"listed":false,"github":"https://github.com/craigmulligan/js-fire","clone":"git clone https://github.com/craigmulligan/js-fire.git","description":"A javascript clone of google/python-fire 🔥","language":"JavaScript","stars":451,"topics":["cli","node","nodejs","python-fire","javascript","hacktoberfest"],"license":null,"category":"cli-tools","readme_excerpt":"js-fire A javascript implementation of google/python-fire js-fire is a library for automatically generating command line interfaces (CLIs) from most js objects. - js Fire is a simple way to create a CLI in js. - js Fire helps with exploring existing code or turning other people's code into a CLI. - js Fire makes transitioning between Bash and js easier. Installation js-fire is exposed as both an API and a CLI. API Usage You can call Fire on any functions and objects: Here's an example of calling Fire on a object, you can infinitely nest objects to create subcommands. Then, from the command line, you can run: Automactic --help command. Automatic --interactive mode: For additional examples, see /examples. CLI Usage js-fire exposes a CLI that takes modulePath and passes it to js-fire . Example So you can js-fire on most js modules. You can also use interactive and help mode to explore a modules api:","default_branch":null,"files":null,"tree":[],"storefront":"/r/craigmulligan","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/craigmulligan/js-fire/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}