Nerdbank.GitVersioning
Traducción Beta No Oficial
Esta página fue traducida por PageTurner AI (beta). No está respaldada oficialmente por el proyecto. ¿Encontraste un error? Reportar problema →
Qué hace
Muestra la versión de Nerdbank.GitVersioning.
precaución
La CLI de Nerdbank.GitVersioning puede ser algo lenta, lo que hace que el prompt se sienta lento.
Configuración de ejemplo
- json
- yaml
- toml
{
"type": "nbgv",
"style": "powerline",
"powerline_symbol": "",
"foreground": "#ffffff",
"background": "#3a579a",
"template": " {{ .Version }} "
}
type: nbgv
style: powerline
powerline_symbol:
foreground: "#ffffff"
background: "#3a579a"
template: " {{ .Version }} "
type = "nbgv"
style = "powerline"
powerline_symbol = ""
foreground = "#ffffff"
background = "#3a579a"
template = " {{ .Version }} "
Plantilla (info)
plantilla predeterminada
{{ .Version }}
Propiedades
| Name | Type | Description |
|---|---|---|
.Version | string | the current version |
.AssemblyVersion | string | the current assembly version |
.AssemblyInformationalVersion | string | the current assembly informational version |
.NuGetPackageVersion | string | the current nuget package version |
.ChocolateyPackageVersion | string | the current chocolatey package version |
.NpmPackageVersion | string | the current npm package version |
.SimpleVersion | string | the current simple version |