Skip to main content

Azure Functions

Whatโ€‹

Display the currently active Azure Functions CLI version.

Sample Configurationโ€‹

{
"type": "azfunc",
"style": "powerline",
"powerline_symbol": "๎‚ฐ",
"foreground": "#ffffff",
"background": "#FEAC19",
"template": " ๏ƒง {{ .Full }} ",
"properties": {
"fetch_version": true,
"display_mode": "files"
}
}

Propertiesโ€‹

NameTypeDescription
home_enabledbooleandisplay the segment in the HOME folder or not - defaults to false
fetch_versionbooleanfetch the Azure Functions CLI version - defaults to true
missing_command_textstringtext to display when the command is missing - defaults to empty
display_modestring
  • always: the segment is always displayed
  • files: the segment is only displayed when a host.json or local.settings.json files is present (default)
extensions[]stringallows to override the default list of file extensions to validate
folders[]stringallows to override the list of folder names to validate
cache_versionbooleancache the executable's version or not - defaults to false

Template (info)โ€‹

default template
{{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }}

Propertiesโ€‹

NameTypeDescription
.Fullstringthe full version
.Majorstringmajor number
.Minorstringminor number
.Patchstringpatch number
.Errorstringerror encountered when fetching the version string