Nerdbank.GitVersioning
Traduction Bêta Non Officielle
Cette page a été traduite par PageTurner AI (bêta). Non approuvée officiellement par le projet. Vous avez trouvé une erreur ? Signaler un problème →
Description
Affiche la version de Nerdbank.GitVersioning.
attention
L'interface CLI de Nerdbank.GitVersioning peut être un peu lente, ce qui donne l'impression que l'invite de commande est lente.
Exemple de configuration
- 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 }} "
Modèle (info)
modèle par défaut
{{ .Version }}
Propriétés
| 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 |