updated structure of SshConfig

This commit is contained in:
2016-06-25 02:53:05 +02:00
parent cac8203bf5
commit f5ff302d4d
7 changed files with 28 additions and 18 deletions

View File

@ -10,14 +10,20 @@ export class SshConfig {
}
/**
* the current config
* stores a config file
*/
get config(){
storeConfig(dirPathArg:string){
let done = plugins.q.defer();
let configArray:configObject[];
return configArray;
return done.promise;
}
};
let createConfigPath = () => {
}
export interface configObject {
host:string;
authorized:boolean;

View File

@ -4,5 +4,6 @@ export let base64 = require("js-base64").Base64;
export let fs = require("fs-extra");
export let minimatch = require("minimatch");
export import path = require("path");
export let q = require("q");
export import smartfile = require("smartfile");
export import smartpath = require("smartpath");