Class: Project

Project(name, user, del, compile, getInformation)

new Project(name, user, del, compile, getInformation)

Creates a Project object.
Parameters:
Name Type Description
name string name of the project
user string owner of the project
del function function to delete the project
compile function function to compile the project
getInformation function function to get project information
Source:

Members

name :string

name of the project
Type:
  • string
Source:

user :string

owner of the project
Type:
  • string
Source:

Methods

compile() → {Promise.<{stdout: string, stderr: string}, error>}

Compiles the project.
Source:
Returns:
Type
Promise.<{stdout: string, stderr: string}, error>

delete() → {Promise.<void, error>}

Deletes the project.
Source:
Returns:
Type
Promise.<void, error>

getInformation() → {Promise.<ProjectInfo, error>}

Gets information about the project.
Source:
Returns:
Type
Promise.<ProjectInfo, error>