{"repo":"fabiospampinato/tiny-bin","free":true,"listed":false,"github":"https://github.com/fabiospampinato/tiny-bin","clone":"git clone https://github.com/fabiospampinato/tiny-bin.git","description":"A library for building tiny and beautiful command line apps.","language":"TypeScript","stars":194,"topics":["app","bin","cli","command","line","tiny"],"license":"MIT","category":"cli-tools","readme_excerpt":"Tiny Bin A library for building tiny and beautiful command line apps. Features At a high level this package provides: - A tiny library, that has no third-party dependencies, that can be bundled, for great startup performance. - Beautiful colored and detailed help pages. Colors can be turned off also. - Automatic package name and version detection, so you don't even need to provide those. - Automatic typo detection, it will suggest the closest command/option if you mistype one. - Automatic options type inference from the provided options. - Automatic help and --help handling, both for the bin and for each command. - Automatic --version and -v handling. - Automatic --no-color and --no-colors handling. This library has 5 primitives -- bins, commands, options, arguments and actions: - Bin: - A bin is the entry point of your command line app, you can define multiple bins. - Each bin has a name, a description, and a few built-in commands (default, help, version). - Each bin can have multiple custom commands. - The action for the default command is customizable. - Command: - A command is the function that will be executed when running your bin. - Each command has a name, a description, and an automatically generated usage example. - Each command can optional have a section, which will be used to group commands in the help page. - Each command can optionally be hidden from the help page. - Each command can optionally have custom usage examples. - Each command can have multiple option","default_branch":null,"files":null,"tree":[],"storefront":"/r/fabiospampinato","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/fabiospampinato/tiny-bin/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."}