smartcli/ts/index.ts

30 lines
1.3 KiB
TypeScript
Raw Normal View History

2016-03-14 06:12:00 +00:00
/// <reference path="typings/main.d.ts" />
2015-11-05 20:43:34 +00:00
/// <reference path="./smartcli.interfaces.ts" />
2015-10-04 21:21:10 +00:00
2016-03-14 06:12:00 +00:00
import plugins = require("./smartcli.plugins");
import SmartcliChecks = require("./smartcli.checks");
2016-03-18 17:08:26 +00:00
import SmartcliGetters = require("./smartcli.getters");
import SmartcliInteractions = require("./smartcli.interaction");
2016-03-14 06:12:00 +00:00
/* ------------------------------------------------ *
* ---------- plugins for direct use -------------- *
* ------------------------------------------------ */
export let inquirer = plugins.inquirer; //inquirer is for asking questions
export let cliff = plugins.cliff; // formats cli output
export let argv = plugins.argv; //argv gets initial cli commands and options.
/* ------------------------------------------------ *
2016-03-18 17:08:26 +00:00
* ---------- checks ------------------------------ *
2016-03-14 06:12:00 +00:00
* ------------------------------------------------ */
2016-03-18 17:08:26 +00:00
export let check = SmartcliChecks;
2015-10-04 21:21:10 +00:00
2016-03-18 17:08:26 +00:00
/* ------------------------------------------------ *
* ---------- getters ----------------------------- *
* ------------------------------------------------ */
export let get = SmartcliGetters;
2015-10-04 21:21:10 +00:00
2016-03-18 17:08:26 +00:00
/* ------------------------------------------------ *
* ---------- interaction ----------------------------- *
* ------------------------------------------------ */
export let interaction = SmartcliInteractions;