28 lines
3.9 KiB
JavaScript
28 lines
3.9 KiB
JavaScript
/// <reference path="typings/main.d.ts" />
|
|
/// <reference path="./smartcli.interfaces.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.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,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImluZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLDBDQUEwQztBQUMxQyxpREFBaUQ7O0FBRWpELElBQU8sT0FBTyxXQUFXLG9CQUFvQixDQUFDLENBQUM7QUFDL0MsSUFBTyxjQUFjLFdBQVcsbUJBQW1CLENBQUMsQ0FBQztBQUNyRCxJQUFPLGVBQWUsV0FBVyxvQkFBb0IsQ0FBQyxDQUFDO0FBQ3ZELElBQU8sb0JBQW9CLFdBQVcsd0JBQXdCLENBQUMsQ0FBQztBQUVoRTs7c0RBRXNEO0FBQzNDLGdCQUFRLEdBQUcsT0FBTyxDQUFDLFFBQVEsQ0FBQyxDQUFDLGtDQUFrQztBQUMvRCxhQUFLLEdBQUcsT0F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