This module is a middleware that sits between module:api/'0.1'/cli and module:api/'0.1'/clusternator as well as the relevant cloudService API.

This module largely deals with prompting the user for info on how to build a project

Source:

Methods

(inner) addPrivateToDockerIgnore(privatePath) → {Q.Promise}

Parameters:
Name Type Description
privatePath string
Source:
Returns:
Type
Q.Promise

(inner) addPrivateToGitIgnore(privatePath) → {Q.Promise}

Parameters:
Name Type Description
privatePath string
Source:
Returns:
Type
Q.Promise

(inner) addPrivateToNpmIgnore(privatePath) → {Q.Promise}

Parameters:
Name Type Description
privatePath string
Source:
Returns:
Type
Q.Promise

(inner) applyUserConfig(params) → {Object}

Parameters:
Name Type Description
params Object
Source:
Returns:
Type
Object

(inner) configUserLoginAndInit(doOfflineopt) → {Promise}

Parameters:
Name Type Attributes Description
doOffline boolean <optional>
Source:
Returns:
Type
Promise

(inner) getInitUserOptions() → {Q.Promise.<Object>}

Source:
Returns:
Type
Q.Promise.<Object>

(inner) init(doOffline) → {Promise}

Parameters:
Name Type Description
doOffline boolean
Source:
Returns:
Type
Promise

(inner) initStage2(doOfflineopt) → {Q.Promise}

Parameters:
Name Type Attributes Description
doOffline boolean <optional>
Source:
Returns:
Type
Q.Promise

(inner) loginAndInit(doOfflineopt, user) → {Promise}

Parameters:
Name Type Attributes Description
doOffline boolean <optional>
user Object
Source:
Returns:
Type
Promise

(inner) pickBestName(names) → {Object}

Parameters:
Name Type Description
names Array.<string>
Source:
Returns:
Type
Object

(inner) processInitUserOptions(answers) → {Q.Promise}

Parameters:
Name Type Description
answers Object
Source:
Returns:
Type
Q.Promise