28 lines
4.1 KiB
JavaScript
28 lines
4.1 KiB
JavaScript
/// <reference path="typings/index.d.ts" />
|
|
"use strict";
|
|
var plugins = require("./smartcli.plugins");
|
|
var SmartcliChecks = require("./smartcli.checks");
|
|
var SmartcliGetters = require("./smartcli.getters");
|
|
var SmartcliInteractions = require("./smartcli.interaction");
|
|
/* ------------------------------------------------ *
|
|
* ---------- plugins for direct use -------------- *
|
|
* ------------------------------------------------ */
|
|
exports.commander = plugins.commander; //commander allows cool chaining of cli actions
|
|
exports.inquirer = plugins.inquirer; //inquirer is for asking questions
|
|
exports.cliff = plugins.cliff; // formats cli output
|
|
exports.argv = plugins.argv; //argv gets initial cli commands and options.
|
|
/* ------------------------------------------------ *
|
|
* ---------- checks ------------------------------ *
|
|
* ------------------------------------------------ */
|
|
exports.check = SmartcliChecks;
|
|
/* ------------------------------------------------ *
|
|
* ---------- getters ----------------------------- *
|
|
* ------------------------------------------------ */
|
|
exports.get = SmartcliGetters;
|
|
/* ------------------------------------------------ *
|
|
* ---------- interaction ----------------------------- *
|
|
* ------------------------------------------------ */
|
|
exports.interaction = SmartcliInteractions;
|
|
|
|
//# sourceMappingURL=data:application/json;charset=utf8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImluZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLDJDQUEyQzs7QUFHM0MsSUFBWSxPQUFPLFdBQU0sb0JBQ3pCLENBQUMsQ0FENEM7QUFDN0MsSUFBWSxjQUFjLFdBQU0sbUJBQW1CLENBQUMsQ0FBQTtBQUNwRCxJQUFZLGVBQWUsV0FBTSxvQkFBb0IsQ0FBQyxDQUFBO0FBQ3RELElBQVksb0JBQW9CLFdBQU0sd0JBQXdCLENBQUMsQ0FBQTtBQUUvRDs7c0RBRXNEO0FBQzNDLGlCQUFTLEdBQUcsT0FBTyxDQUFDLFNBQVMsQ0FBQyxDQUFDLCtDQUErQztBQUM5RSxnQkFBUSxHQUFHLE9BQU8sQ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