[gottabe-plugin-dev](../README.md) / [Exports](../modules.md) / Project # Interface: Project Retrieve project informations ## Table of contents ### Methods - [getBaseDir](Project.md#getbasedir) - [getBuildConfig](Project.md#getbuildconfig) - [getBuildDir](Project.md#getbuilddir) - [getCurrentTarget](Project.md#getcurrenttarget) - [getDependencyDir](Project.md#getdependencydir) - [getName](Project.md#getname) - [getVersion](Project.md#getversion) ## Methods ### getBaseDir ▸ **getBaseDir**(): `string` Return the base directory of the project, in other words, the current directory #### Returns `string` #### Defined in [gottabe_api.ts:253](https://github.com/gottabe-io/gottabe-plugin-dev/blob/47e6f7e/src/gottabe_api.ts#L253) ___ ### getBuildConfig ▸ **getBuildConfig**(): [`BuildConfig`](BuildConfig.md) Return the parsed build descriptor #### Returns [`BuildConfig`](BuildConfig.md) #### Defined in [gottabe_api.ts:237](https://github.com/gottabe-io/gottabe-plugin-dev/blob/47e6f7e/src/gottabe_api.ts#L237) ___ ### getBuildDir ▸ **getBuildDir**(): `string` Return the build directory #### Returns `string` #### Defined in [gottabe_api.ts:257](https://github.com/gottabe-io/gottabe-plugin-dev/blob/47e6f7e/src/gottabe_api.ts#L257) ___ ### getCurrentTarget ▸ **getCurrentTarget**(): [`TargetConfig`](TargetConfig.md) Return the current target from build configuration #### Returns [`TargetConfig`](TargetConfig.md) #### Defined in [gottabe_api.ts:249](https://github.com/gottabe-io/gottabe-plugin-dev/blob/47e6f7e/src/gottabe_api.ts#L249) ___ ### getDependencyDir ▸ **getDependencyDir**(): `string` Return the dependency directory in the build #### Returns `string` #### Defined in [gottabe_api.ts:261](https://github.com/gottabe-io/gottabe-plugin-dev/blob/47e6f7e/src/gottabe_api.ts#L261) ___ ### getName ▸ **getName**(): `string` Return the name of the project in the build descriptor #### Returns `string` #### Defined in [gottabe_api.ts:241](https://github.com/gottabe-io/gottabe-plugin-dev/blob/47e6f7e/src/gottabe_api.ts#L241) ___ ### getVersion ▸ **getVersion**(): `string` Return the version of the project from the build descriptor #### Returns `string` #### Defined in [gottabe_api.ts:245](https://github.com/gottabe-io/gottabe-plugin-dev/blob/47e6f7e/src/gottabe_api.ts#L245)