mirror of
https://github.com/JanDeDobbeleer/oh-my-posh.git
synced 2024-11-15 23:44:03 -08:00
59ebe57b19
resolves #4702
45 lines
932 B
Plaintext
45 lines
932 B
Plaintext
---
|
|
id: azd
|
|
title: Azure Developer CLI
|
|
sidebar_label: azd
|
|
---
|
|
|
|
## What
|
|
|
|
Display the currently active environment in the Azure Developer CLI.
|
|
|
|
## Sample Configuration
|
|
|
|
import Config from "@site/src/components/Config.js";
|
|
|
|
<Config
|
|
data={{
|
|
type: "azd",
|
|
style: "powerline",
|
|
powerline_symbol: "\uE0B0",
|
|
foreground: "#000000",
|
|
background: "#9ec3f0",
|
|
template: " \uebd8 {{ .DefaultEnvironment }} ",
|
|
}}
|
|
/>
|
|
|
|
## Template ([info][templates])
|
|
|
|
:::note default template
|
|
|
|
```template
|
|
\uebd8 {{ .DefaultEnvironment }}
|
|
```
|
|
|
|
:::
|
|
|
|
### Properties
|
|
|
|
| Name | Type | Description |
|
|
| --------------------- | -------- | ------------------------------------ |
|
|
| `.DefaultEnvironment` | `string` | Azure Developer CLI environment name |
|
|
| `.Version` | `number` | Config version number |
|
|
|
|
[templates]: /docs/configuration/templates
|
|
[azd]: https://aka.ms/azd
|