listTags
List tags
param | type [= default] | description |
---|---|---|
core | string = 'default' | The plugin core identifier to use for plugin injection |
fs [deprecated] | FileSystem | The filesystem containing the git repo. Overrides the fs provided by the plugin system. |
dir | string | The working tree directory path |
gitdir | string = join(dir,'.git') | The git directory path |
return | Promise<Array<string>> | Resolves successfully with an array of tag names |
Example Code:
let tags = await git.listTags({ dir: '$input((/))' })
console.log(tags)