sif
Version:
Sifts important data so fast that it's "t" drops off.
37 lines (26 loc) • 1.82 kB
JavaScript
;
/* _, ,--. ,---.
* /(_ ,---. `--' / .-'
* | '-._ . ' . ( .-' ,--. | `-,
* \ ,-.) -= * =- .-' `) | | | .-'
* \((` .( '/. ' `----' `--' `--'
* )\ _/ / just like magic
* .-' '--. /
* \, \ /|
* ';,_) _)'\ \,// This program is distributed
* `\ ( '._/ under the terms of the MIT license.
* | . '.
* | \ Please see the `LICENSE.md` file for details.
* | \| |
* \ | / Send your comments and suggestions to…
* '.| / <https://github.com/v0lkan/sif/issues>.
*/
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }
var _commander = require('commander');
var _commander2 = _interopRequireDefault(_commander);
var _libTerminalOut = require('../lib/terminal/out');
var _packageJson = require('../package.json');
(0, _libTerminalOut.printBanner)();
_commander2['default'].version(_packageJson.version).command('aliases', 'Lists all aliases.').command('alias <shorthand> <query>', 'Adds a new alias <shorthand> for <query>.').command('rmalias <alias>', 'Removes the alias named <alias>.').command('tag <query> [tag1 tag2...]', 'Adds tags to all the results that match the search query <query>.').command('rmtag <query> [tag1 tag2...]', 'Removes tags from all the results that match the search query <query>.').command('purge', 'Removes ALL the indexed data, and ALL the aliases. This process is IRREVERSIBLE.').command('update', 'Updates and re-sorts the index by fetching metadata for the newly-added items.').command('find <what> [options]', 'Performs a search. See README.md for details.').parse(process.argv);
//# sourceMappingURL=sif.js.map