# commander-tabtab

> Tab/Auto Completion for Commander.js CLIs

Latest version **0.1.0** (published 2013-09-01) · BSD license · 0 weekly downloads

## Install

```sh
npm install commander-tabtab
pnpm add commander-tabtab
yarn add commander-tabtab
bun add commander-tabtab
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.1.0 |
| Published | 2013-09-01 |
| First published | 2012-08-15 |
| Weekly downloads | 0 |
| License | BSD |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 7 |
| Author | Ben Evans |
| Maintainers | bencevans |
| Keywords | tab, tabtab, commander, commander.js, completion, auto, CLI |

## Links

- npm: https://www.npmjs.com/package/commander-tabtab
- Repository: https://github.com/bencevans/commander-tabtab.js
- npm.io page: https://npm.io/package/commander-tabtab

## Dependencies (1)

- [tabtab](https://npm.io/package/tabtab.md) ~0.0.2

## Alternatives

- [@lexical/table](https://npm.io/package/@lexical/table.md) — 3.0M weekly downloads
- [mantine-datatable](https://npm.io/package/mantine-datatable.md) — 98.2K weekly downloads
- [react-native-collapsible-tab-view](https://npm.io/package/react-native-collapsible-tab-view.md) — 70.6K weekly downloads
- [@handsontable/vue3](https://npm.io/package/@handsontable/vue3.md) — 16.1K weekly downloads
- [vuewordcloud](https://npm.io/package/vuewordcloud.md) — 7.2K weekly downloads

## Recent versions

- 0.1.0 (latest) — 2013-09-01
- 0.0.1 — 2012-08-15

## README

#commander-tabtab

Tab/Auto Completion for Commander.js CLIs.


##Example

Look at the code of the Example App @ [/examples/exampleapp](https://github.com/bencevans/commander-tabtab.js/blob/master/example/exampleapp)

If installed properly and you entered `exampleapp` and striked tab you would get…

	# exampleapp 
	hello     helllllooooooo     world
	
Then if you were to enter `exampleapp he` and striked tab you would get…

	# exampleapp hello
	hello     helllllooooooo  
	
Or if you were to enter `exampleapp w` and striked tab you would get…

	# exampleapp world
	
Simple!


##Installation

*Use the example as a reference however if you need a hand drop me a note. @bencevans on [Twitter](http://twitter.com/bencevans) and [GitHub](http://github.com/bencevans). You can find my email on my GitHub profile.*

####Codebase

1. Require taptap-commander. `commanderTabTab = require('taptap-commander');`
2. Just before `program.parse(argv);` enter `commanderTabTab.init(program, 'NAME OF YOUR BIN/CLI FILE/APP');`

####In Terminal

* Install your app using NPM `npm install -g .` (This adds your app to your shell's PATH)

If you would like to install completion everywhere rather than just in the current shell enter this line.

* Add completion helper to ~/.bashrc (or ~/.zshrc) `APPNAME completion >> ~/.bashrc`

else if you just want to try out with it enabled in the current shell enter this line.

* Add completion to current shell `source <(pkgname completion)`

Done.

##In The Wild
[npunch](https://github.com/bencevans/npunch) - NodeJS WebApp Development Hostbox Thing.

[Add Yours](https://github.com/bencevans/commander-tabtab.js/issues/new?title=[PROJECT%20NAME]+We're+using+this+project!&body=[LINK%20TO%20PROJECT])

---
_Source: https://npm.io/package/commander-tabtab · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
