bintastic / BintasticProject
Class: BintasticProject
Defined in: project.ts:6
Extends
Project
Constructors
Constructor
new BintasticProject(
name?,version?,cb?):BintasticProject
Defined in: project.ts:15
Constructs an instance of a BintasticProject.
Parameters
name?
string = 'fake-project'
The name of the project. Used within the package.json as the name property.
version?
string
The version of the project. Used within the package.json as the version property.
cb?
(project) => void
An optional callback for additional setup steps after the project is constructed.
Returns
BintasticProject
Overrides
Project.constructor
Methods
chdir()
chdir():
Promise<void>
Defined in: project.ts:36
Changes a directory from inside the project.
Returns
Promise<void>
dispose()
dispose():
void
Defined in: project.ts:48
Correctly disposes of the project, observing when the directory has been changed.
Returns
void
Overrides
Project.dispose
gitInit()
gitInit():
ResultPromise
Defined in: project.ts:29
Runs git init inside a project.
Returns
ResultPromise