{"_id":"complete","_rev":"37-b07f2185c1029f4a787fe112d81b9974","name":"complete","description":"tab completion CLI programs","dist-tags":{"latest":"0.4.4"},"versions":{"0.0.1":{"name":"complete","version":"0.0.1","description":"tab completion for your nodejs CLI program","main":"index.js","directories":{"lib":"./lib","example":"example"},"repository":{"type":"git","url":"git://github.com/hij1nx/complete.git"},"keywords":["terminal","tabs","unix","posix","console","complete","completion"],"author":{"name":"hij1nx","email":"hij1nx@me.com","url":"http://www.nodejitsu.com"},"maintainers":[{"name":"hij1nx","email":"hij1nx@me.com"}],"dependencies":{"colors":"0.x.x","optimist":"0.2.x"},"license":"MIT","engine":{"node":">=0.4"},"_npmJsonOpts":{"file":"/Users/paolo/.npm/complete/0.0.1/package/package.json","wscript":false,"contributors":false,"serverjs":false},"_id":"complete@0.0.1","devDependencies":{},"engines":{"node":"*"},"_engineSupported":true,"_npmVersion":"1.0.27","_nodeVersion":"v0.4.10","_defaultsLoaded":true,"dist":{"shasum":"aa107410b65eecb3436b656404a50fac328f6eb8","tarball":"https://registry.npmjs.org/complete/-/complete-0.0.1.tgz","integrity":"sha512-wcuqgCmO9jMIYGfWF+TTeN0DRd2niHVgQ9hmt58K5FvShcinJ5+jiMS+J3V1ArgnM1YOQbYr3z3YTHd8F87emg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCS7QWUKKjX8SJeRiDgvWIkdP4Y/0VsiGdgP3ZwECLBLQIgaJE+/hK+ANrdVdkG/zrpjNLInloCAjFOx4tn4u+3lmg="}]}},"0.1.0":{"name":"complete","version":"0.1.0","description":"tab completion for your nodejs CLI program","main":"index.js","directories":{"lib":"./lib","example":"example"},"repository":{"type":"git","url":"git://github.com/hij1nx/complete.git"},"keywords":["terminal","tabs","unix","posix","console","complete","completion"],"author":{"name":"hij1nx","email":"hij1nx@me.com","url":"http://www.nodejitsu.com"},"maintainers":[{"name":"hij1nx","email":"hij1nx@me.com"}],"dependencies":{"colors":"0.x.x","optimist":"0.2.x"},"license":"MIT","engine":{"node":">=0.4"},"_npmJsonOpts":{"file":"/Users/paolo/.npm/complete/0.1.0/package/package.json","wscript":false,"contributors":false,"serverjs":false},"_id":"complete@0.1.0","devDependencies":{},"engines":{"node":"*"},"_engineSupported":true,"_npmVersion":"1.0.27","_nodeVersion":"v0.4.10","_defaultsLoaded":true,"dist":{"shasum":"032f3f63afc0bbde5f59a8a488d9511df87c7008","tarball":"https://registry.npmjs.org/complete/-/complete-0.1.0.tgz","integrity":"sha512-G6uCV00LMtpdyqETWQgjiwTMeaHLFfV7pMe3yGTDr5GpfSdTiPaoVzM8U5a/qdrpIqlrPSa7cqLiRY2yyXKgpw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDx6494TSRKIVqSUNBh+rAuBmzoHFIwwQrjlI9sIiZR8AiEApMlgyp9Be29GFOgdavPhMqK06JJcyVgfXWUfbGM5CLU="}]}},"0.1.1":{"name":"complete","version":"0.1.1","description":"tab completion for your nodejs CLI program","main":"./lib/index.js","directories":{"lib":"./lib","example":"./example"},"repository":{"type":"git","url":"git://github.com/hij1nx/complete.git"},"keywords":["terminal","tabs","unix","posix","console","complete","completion"],"author":{"name":"hij1nx","email":"hij1nx@me.com","url":"http://www.nodejitsu.com"},"maintainers":[{"name":"hij1nx","email":"hij1nx@me.com"}],"dependencies":{"colors":"0.x.x","optimist":"0.2.x","which":"1.x.x"},"license":"MIT","engine":{"node":">=0.4"},"_npmJsonOpts":{"file":"/Users/paolo/.npm/complete/0.1.1/package/package.json","wscript":false,"contributors":false,"serverjs":false},"_id":"complete@0.1.1","devDependencies":{},"engines":{"node":"*"},"_engineSupported":true,"_npmVersion":"1.0.27","_nodeVersion":"v0.4.10","_defaultsLoaded":true,"dist":{"shasum":"77b9b7d8a8fffb4bf9237b2ec20187b6d42fba4f","tarball":"https://registry.npmjs.org/complete/-/complete-0.1.1.tgz","integrity":"sha512-3QUeT1CbvmuEkhEekQftQQCamypYj4x76EiR8vfvG5AyDQXlTfmB6o8gU3YcG++tUGlSMYarMZEvEUPc25q0XA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIC2L9YuuZ7Ov/4u+4JXShFTeRBqeF4ILhC8NEDDPDh3oAiEAz/q4ncxoPC+cFK5v8eTIvNfnmmSeyYm3ln49B+n7MeM="}]}},"0.2.0":{"name":"complete","version":"0.2.0","description":"tab completion for your nodejs CLI program","main":"./lib/complete.js","directories":{"lib":"./lib","example":"./example"},"repository":{"type":"git","url":"git://github.com/hij1nx/complete.git"},"keywords":["terminal","tabs","unix","posix","console","complete","completion"],"author":{"name":"hij1nx","email":"hij1nx@me.com","url":"http://www.nodejitsu.com"},"maintainers":[{"name":"hij1nx","email":"hij1nx@me.com"}],"dependencies":{"which":"1.x.x"},"license":"MIT","engine":{"node":">=0.4"},"_npmUser":{"name":"hij1nx","email":"hij1nx@me.com"},"_id":"complete@0.2.0","devDependencies":{},"optionalDependencies":{},"engines":{"node":"*"},"_engineSupported":true,"_npmVersion":"1.1.0-3","_nodeVersion":"v0.6.9","_defaultsLoaded":true,"dist":{"shasum":"a0800b241ed34f397af788a3d24611cecab8ecfe","tarball":"https://registry.npmjs.org/complete/-/complete-0.2.0.tgz","integrity":"sha512-yfS/8tGGUq/abtCt8qTKcB0/bl7/LPXPjtChd6gpaTT/RZcGigfGJ6HxZrAwPbTphHXIMjw+sNkyszQNp1suEw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDrqHHLJRV51eV5f7nwQFGb/TFtESv1iEPYcit/yXtTOwIhANJPvkc30aeSr9E1nhkLjUYbRegArHu74h5Tz3fVLaNA"}]}},"0.3.0":{"name":"complete","version":"0.3.0","description":"tab completion for your nodejs CLI program","main":"./lib/complete.js","directories":{"lib":"./lib","example":"./example"},"repository":{"type":"git","url":"git://github.com/hij1nx/complete.git"},"keywords":["terminal","tabs","unix","posix","console","complete","completion"],"author":{"name":"hij1nx","email":"hij1nx@me.com","url":"http://www.nodejitsu.com"},"maintainers":[{"name":"hij1nx","email":"hij1nx@me.com"},{"name":"marak","email":"marak.squires@gmail.com"}],"license":"MIT","engine":{"node":">=0.4"},"_npmUser":{"name":"marak","email":"marak.squires@gmail.com"},"_id":"complete@0.3.0","dependencies":{},"devDependencies":{},"optionalDependencies":{},"engines":{"node":"*"},"_engineSupported":true,"_npmVersion":"1.1.10","_nodeVersion":"v0.6.12","_defaultsLoaded":true,"dist":{"shasum":"df784fc3eb20d2b2853f3e77a2e3313393ab1b56","tarball":"https://registry.npmjs.org/complete/-/complete-0.3.0.tgz","integrity":"sha512-cA39WXql0ago/rF6xTheiO+vi/+RUXyybuvYAcxCv9cRibs/IW8JPCX87lRFk9mIjGscKUNO99PzCsC6KrSEgw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD6zvFiicQMHGpl23ocgKGIAdWe559okgvesE8skF/zvwIhAKM0XpSFXxmmOioyE9lWlB3I3lg5KcnChIiC1Pax+Eej"}]}},"0.3.1":{"name":"complete","version":"0.3.1","description":"tab completion for your nodejs CLI program","main":"./lib/complete.js","directories":{"lib":"./lib","example":"./example"},"repository":{"type":"git","url":"git://github.com/hij1nx/complete.git"},"keywords":["terminal","tabs","unix","posix","console","complete","completion"],"author":{"name":"hij1nx","email":"hij1nx@me.com","url":"http://www.nodejitsu.com"},"maintainers":[{"name":"hij1nx","email":"hij1nx@me.com"},{"name":"marak","email":"marak.squires@gmail.com"}],"license":"MIT","engine":{"node":">=0.4"},"_npmUser":{"name":"marak","email":"marak.squires@gmail.com"},"_id":"complete@0.3.1","dependencies":{},"devDependencies":{},"optionalDependencies":{},"engines":{"node":"*"},"_engineSupported":true,"_npmVersion":"1.1.16","_nodeVersion":"v0.6.12","_defaultsLoaded":true,"dist":{"shasum":"9950ac77d1ac4991a9dcc782b33dfae253bf8bda","tarball":"https://registry.npmjs.org/complete/-/complete-0.3.1.tgz","integrity":"sha512-fTL9sPaPEkg98nzj9YHxCJXW7acTsdV3YMh4YweqFV1lT9K/ezx39MV3QAAh0BF3ePqslTchGiyJFbgXxGvlrg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHV6zHDwQS0T03QBnibzpRaFcue0RXo//U0Nsz9oIUkEAiAeltnVNwNlH4jYHNws0shqpsWCxc3aj6pgXbvJqaC23g=="}]}},"0.3.2":{"name":"complete","version":"0.3.2","description":"tab completion CLI programs","main":"./lib/complete.js","directories":{"lib":"./lib","example":"./example"},"repository":{"type":"git","url":"http://github.com/hij1nx/complete.git"},"scripts":{"install":"./"},"dependencies":{"optimist":"0.3.5"},"keywords":["terminal","tab","unix","console","complete","completion"],"author":{"name":"paolo fragomeni","email":"paolo@async.ly","url":"http://async.ly"},"maintainers":[{"name":"hij1nx","email":"hij1nx@me.com"}],"license":"MIT","engine":{"node":">=0.4"},"_id":"complete@0.3.2","dist":{"shasum":"da8761cd5ae4c4924bc9e71bf0c6718512f5fc90","tarball":"https://registry.npmjs.org/complete/-/complete-0.3.2.tgz","integrity":"sha512-yGByON24RR6FXcGcnE8r4ZpSCrpW5XrERmd5i90qdjWXVCRIF8sTnEjJVLGJFL19xFUO8fMDGaPuy54q+LPxDA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGdanu+sjwsng5i11vh4HJgGhBIAXc/h9Ip/C0N3m7+/AiEA4UYx5CCM9nU3HNVz6erG3LYSU4fu/efVK30vAOnhxwA="}]},"_from":".","_npmVersion":"1.2.11","_npmUser":{"name":"hij1nx","email":"paolo@async.ly"}},"0.3.3":{"name":"complete","version":"0.3.3","description":"tab completion CLI programs","main":"./lib/complete.js","directories":{"lib":"./lib","example":"./example"},"repository":{"type":"git","url":"http://github.com/hij1nx/complete.git"},"dependencies":{"optimist":"0.3.5"},"keywords":["terminal","tab","unix","console","complete","completion"],"author":{"name":"paolo fragomeni","email":"paolo@async.ly","url":"http://async.ly"},"maintainers":[{"name":"hij1nx","email":"hij1nx@me.com"}],"license":"MIT","engine":{"node":">=0.4"},"_id":"complete@0.3.3","dist":{"shasum":"d8affa4e0307fb439e19469ac962342e8e36e2d7","tarball":"https://registry.npmjs.org/complete/-/complete-0.3.3.tgz","integrity":"sha512-yShjuRkrO+VDHagKt7MnJvt+eJ+UGERSFypsOEyTE+T0UKODqTgc+LU1HgOiwBWZbTrJGCdAKDTRriZjPy/JvA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAMdlSmrAEKHCDxJBPLdF90Ky2SgJiJVOm1NW3q3v2CCAiEAlCcFmj1ldW+bAU80Gee3jrOS1TbL8Wq+lYEu0LvJAzo="}]},"_from":".","_npmVersion":"1.2.14","_npmUser":{"name":"hij1nx","email":"paolo@async.ly"}},"0.4.0":{"name":"complete","version":"0.4.0","description":"tab completion CLI programs","main":"./lib/complete.js","directories":{"lib":"./lib","example":"./example"},"repository":{"type":"git","url":"http://github.com/hij1nx/complete.git"},"dependencies":{"optimist":"0.3.5"},"keywords":["terminal","tab","unix","console","complete","completion"],"author":{"name":"paolo fragomeni","email":"paolo@async.ly","url":"http://async.ly"},"maintainers":[{"name":"hij1nx","email":"hij1nx@me.com"}],"license":"MIT","engine":{"node":">=0.4"},"_id":"complete@0.4.0","dist":{"shasum":"49ac8d417bb9c0f1236d6f7244140075588a1283","tarball":"https://registry.npmjs.org/complete/-/complete-0.4.0.tgz","integrity":"sha512-bFydR79SKprgVpoTLqz0HRvFKkmyuh9z5WRy1vHQkvgPuTG77bCyV8fJxTIzb6oI01zHoy9HvaT2G6cHK5nAQg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDGFsZXgJx3i8RHuFxtmOa11ys+rPUJ8bFFfdByIYrlPAIgM73O9SJg2TRVccV/UhqMR8/Oy1gQFpTKequrkMittqk="}]},"_from":".","_npmVersion":"1.2.14","_npmUser":{"name":"hij1nx","email":"paolo@async.ly"}},"0.4.1":{"name":"complete","version":"0.4.1","description":"tab completion CLI programs","main":"./lib/complete.js","directories":{"lib":"./lib","example":"./example"},"repository":{"type":"git","url":"http://github.com/hij1nx/complete.git"},"dependencies":{"optimist":"0.3.5"},"keywords":["terminal","tab","unix","console","complete","completion"],"author":{"name":"paolo fragomeni","email":"paolo@async.ly","url":"http://async.ly"},"maintainers":[{"name":"hij1nx","email":"hij1nx@me.com"}],"license":"MIT","engine":{"node":">=0.4"},"_id":"complete@0.4.1","dist":{"shasum":"19cb691a68e193a02b1de3ccc5124d8cfba4eb4a","tarball":"https://registry.npmjs.org/complete/-/complete-0.4.1.tgz","integrity":"sha512-pJv892Foky1qkgKYqU/kPE/3nmzwCZptV+PeLU6saHaeZGCqnmjItzEfJ5fZvgwfztDUIzlU8ElH8fIL+aMAhA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDVCT8BF/itCtK3JZqW0R3NDKH6yup+gKpNgLMMXLQEsAiA6rf9tJR0fzxLGQWNx4p6jLypJ8ZlCv8r6DhQLnR03jQ=="}]},"_from":".","_npmVersion":"1.2.14","_npmUser":{"name":"hij1nx","email":"paolo@async.ly"}},"0.4.1-1":{"name":"complete","version":"0.4.1-1","description":"tab completion CLI programs","main":"./lib/complete.js","directories":{"lib":"./lib","example":"./example"},"repository":{"type":"git","url":"http://github.com/hij1nx/complete.git"},"dependencies":{"optimist":"0.3.5"},"keywords":["terminal","tab","unix","console","complete","completion"],"author":{"name":"paolo fragomeni","email":"paolo@async.ly","url":"http://async.ly"},"maintainers":[{"name":"hij1nx","email":"hij1nx@me.com"}],"license":"MIT","engine":{"node":">=0.4"},"_id":"complete@0.4.1-1","dist":{"shasum":"125528888069912a1329b1dd58db28a05befa5f1","tarball":"https://registry.npmjs.org/complete/-/complete-0.4.1-1.tgz","integrity":"sha512-n7fPdg1R3Hmpfm7VJKLT/eDmuf/1FiyBcX+gE7XJ2wqt6vBbdkUxlZNWS+FJQOoXPsMj/IBN8cTxrySuQXmpJA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCx+PPb2mX2HySgsNmVO3tiTv92oP4XdA/yVJHNHcWHtwIhANO+HDVnRXkJslMYsCgJdgfbljfqQOvIEtdUhfmhZ7z9"}]},"_from":".","_npmVersion":"1.2.14","_npmUser":{"name":"hij1nx","email":"paolo@async.ly"}},"0.4.2":{"name":"complete","version":"0.4.2","description":"tab completion CLI programs","main":"./lib/complete.js","directories":{"lib":"./lib","example":"./example"},"repository":{"type":"git","url":"http://github.com/hij1nx/complete.git"},"dependencies":{"optimist":"0.3.5"},"keywords":["terminal","tab","unix","console","complete","completion"],"author":{"name":"paolo fragomeni","email":"paolo@async.ly","url":"http://async.ly"},"maintainers":[{"name":"hij1nx","email":"hij1nx@me.com"}],"license":"MIT","engine":{"node":">=0.4"},"_id":"complete@0.4.2","dist":{"shasum":"4849aa3bf341ce32e0c20ca4c7f354ccbcb9b5e5","tarball":"https://registry.npmjs.org/complete/-/complete-0.4.2.tgz","integrity":"sha512-C3Ausonh5kwoheVBuzoT74ylVlaxJy7LmAubXQB8UkhxkTQCtPGH/6K2yWCETI+PwfzW56rzSuY7Kkxyo+3n8A==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC4V5CZkb4pQKOquXkUuvCNAIw1ucBQB0oofCwC4EA11wIhAKqIhnrhJDfF5Eh3uWvnxSKUg6TnXyG5+WYatIwWeyOC"}]},"_from":".","_npmVersion":"1.2.15","_npmUser":{"name":"hij1nx","email":"paolo@async.ly"}},"0.4.3":{"name":"complete","version":"0.4.3","description":"tab completion CLI programs","main":"./lib/complete.js","directories":{"lib":"./lib","example":"./example"},"repository":{"type":"git","url":"http://github.com/hij1nx/complete.git"},"dependencies":{"optimist":"0.3.5"},"keywords":["terminal","tab","unix","console","complete","completion"],"author":{"name":"paolo fragomeni","email":"paolo@async.ly","url":"http://async.ly"},"maintainers":[{"name":"hij1nx","email":"hij1nx@me.com"}],"license":"MIT","engine":{"node":">=0.4"},"_id":"complete@0.4.3","dist":{"shasum":"d7ab7cbfbb6552a8c16726c9bb458e136c63c043","tarball":"https://registry.npmjs.org/complete/-/complete-0.4.3.tgz","integrity":"sha512-qOEW8G1bDQXMiEtVF+9DmUDDX0NQ6bV0fB7Fk61OliUd3MoMYoNqqvhV8laOhMm1osUdJ86sf0AvZULT/l646Q==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDiiaOtxHZeYR4zjPLStx2qdLjLhkyNcR+eqWw9irFTgAIhAIatj2r4ws84jcY0cIUAAd8EEkKrY6P9PKMZD58IJ7Lf"}]},"_from":".","_npmVersion":"1.2.15","_npmUser":{"name":"hij1nx","email":"paolo@async.ly"}},"0.4.4":{"name":"complete","version":"0.4.4","description":"tab completion CLI programs","main":"./lib/complete.js","directories":{"lib":"./lib","example":"./example"},"repository":{"type":"git","url":"http://github.com/hij1nx/complete.git"},"dependencies":{"optimist":"0.3.5"},"keywords":["terminal","tab","unix","console","complete","completion"],"author":{"name":"paolo fragomeni","email":"paolo@async.ly","url":"http://async.ly"},"maintainers":[{"name":"hij1nx","email":"hij1nx@me.com"}],"license":"MIT","engine":{"node":">=0.4"},"bugs":{"url":"https://github.com/hij1nx/complete/issues"},"homepage":"https://github.com/hij1nx/complete","_id":"complete@0.4.4","_shasum":"673322e3c286f5738fcc23aa0ca9ba5b93acb630","_from":".","_npmVersion":"1.4.9","_npmUser":{"name":"hij1nx","email":"paolo@async.ly"},"dist":{"shasum":"673322e3c286f5738fcc23aa0ca9ba5b93acb630","tarball":"https://registry.npmjs.org/complete/-/complete-0.4.4.tgz","integrity":"sha512-WYfXTz/KUOXh6/ots1MTnKYlC1lJtKZB2dQfkeTX/pEXFWikhuewcNTGHb/Nd4RUXMr2hnRsh0kI6GRgUBenEw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDhzRZ+0AHZrwODPnu5XRZZu4ihndBJq8xxg8poV2tOoAIgJDvMA0mY4bTz51NIE2wUiVPmfAmgJjIm51lGqR1MKbI="}]}}},"maintainers":[{"name":"hij1nx","email":"hij1nx@me.com"}],"time":{"modified":"2022-06-13T19:48:48.953Z","created":"2011-08-29T02:23:32.871Z","0.0.1":"2011-08-29T02:23:34.211Z","0.1.0":"2011-08-29T02:26:14.562Z","0.1.1":"2011-08-30T15:24:15.003Z","0.2.0":"2012-03-05T03:11:05.069Z","0.3.0":"2012-04-03T21:43:26.440Z","0.3.1":"2012-04-18T00:05:53.092Z","0.3.2":"2013-03-09T23:04:59.619Z","0.3.3":"2013-03-17T23:27:09.890Z","0.4.0":"2013-03-18T00:45:13.746Z","0.4.1":"2013-03-18T03:43:05.066Z","0.4.1-1":"2013-03-20T18:03:16.017Z","0.4.2":"2013-04-03T21:07:02.015Z","0.4.3":"2013-04-05T13:19:42.449Z","0.4.4":"2014-08-26T05:08:57.783Z"},"author":{"name":"paolo fragomeni","email":"paolo@async.ly","url":"http://async.ly"},"repository":{"type":"git","url":"http://github.com/hij1nx/complete.git"},"readme":"# Synopsis\nCustom command line tab completion for node.js applications.\n\n# Example\n\n```javascript\n#!/usr/bin/env node\n\nvar complete = require('complete'); // get the `complete` module.\n\n//\n// list of items to complete on.\n//\ncomplete.list = ['apple', 'orange', 'pear', 'lemon', 'mango'];\n\ncomplete.callback = function(lastSelection, userInput, reducedList) {\n\n  if (lastSelection === 'apple') {\n\tcomplete.add('sauce');\n  }\n};\n\ncomplete.init();\n\n//\n// continue with the application...\n//\nconsole.log('program started with the following arguments:', process.argv[2] || 'none provided');\n```\n\n# Distribution and Installation\n\nYour installment procedure should place your CLI program in a location made accessible by the `PATH` variable. If users install your program with the NPM `-g` option, your program will be in the path.\n\n``` bash\n/usr/local/bin/myprogram -> /usr/local/lib/node_modules/myprogram/bin/myprogram\n```\n\n# API\n\n## list\nCreate a list of commands that you want to autocomplete with.\n\n```javascript\ncomplete.list = ['apple', 'orange', 'pear', 'lemon', 'mango'];\n```\n\n## callback\nOptionally you can define a callback that will get called when the match when the completion happens.\n\n```javascript\ncomplete.callback = function(lastSelection, userInput, reducedList) {\n\n  //\n  // do something if this is an `orange`. Note that anything that\n  // you `process.stdout.write()` will be added to the auto complete\n  // list.\n  //\n};\n```\n\n## init()\nInitialize the auto completion behavior.\n\n```javascript\ncomplete.init();\n```\n\n\n## Higher Level Example\n\n``` js\nvar complete = require('complete');\n\ncomplete({\n  program: 'my-program',\n  // Commands\n  commands: {\n    'hello': function(words, prev, cur) {\n      complete.output(cur, ['abc', 'def']);\n    },\n    'world': {\n      'hi': function(words, prev, cur) {\n        complete.echo('next');\n      }\n    }\n  },\n  // Position-independent options.\n  // These will attempted to be\n  // matched if `commands` fails\n  // to match.\n  options: {\n    '--help': {},\n    '-h': {},\n    '--version': {},\n    '-v': {}\n  }\n});\n```\n\n## The above results in\n\n``` bash\n$ my-program he<TAB>\n$ my-program hello\n$ my-program hello a<TAB>\n$ my-program hello abc\n```\n\n# License\n\n(The MIT License)\n\nCopyright (c) 2010 hij1nx <http://www.twitter.com/hij1nx>\n\nPermission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the 'Software'), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n\n","homepage":"https://github.com/hij1nx/complete","keywords":["terminal","tab","unix","console","complete","completion"],"bugs":{"url":"https://github.com/hij1nx/complete/issues"},"license":"MIT","readmeFilename":"README.md","users":{"diosney":true,"max_devjs":true,"tobiasnickel":true,"nickeltobias":true}}