feat(azure): subscription name aliases (#4949)

* From issue #4448, added `subscription_aliases`
as a field for the Azure module

Can be set in starship.toml with
[azure.subscription_aliases]

* Updated config file schema

* Added entry into documentation

* Update README.md

* Formatted with dprint
This commit is contained in:
marcybell
2023-04-14 03:03:14 +08:00
committed by GitHub
parent edb96cad58
commit 27ffa37cfd
4 changed files with 107 additions and 7 deletions
+8
View File
@@ -29,6 +29,7 @@
"disabled": true,
"format": "on [$symbol($subscription)]($style) ",
"style": "blue bold",
"subscription_aliases": {},
"symbol": "ﴃ "
},
"allOf": [
@@ -1849,6 +1850,13 @@
"disabled": {
"default": true,
"type": "boolean"
},
"subscription_aliases": {
"default": {},
"type": "object",
"additionalProperties": {
"type": "string"
}
}
},
"additionalProperties": false