Starship Prompt Builder

Pulumi module

Shows the current username, selected Pulumi Stack, and version

When it appears

It renders when Starship detects the matching context and its configured conditions are met.

Preview

Rendered from the starting configuration in a representative simulated environment.

starship — preview
via  1 

Starting configuration

[pulumi]
format = "via [$symbol($username@)$stack]($style) "
symbol = " "
style = "bold 5"
Open in the builder

The configuration is compressed into the URL fragment and stays in your browser.

Key options

formatstring
The format string for the module.
version_formatstring
The version format. Available vars are raw, major, minor, & patch
symbolstring
A format string shown before the Pulumi stack.
stylestring
The style for the module.
disabledboolean
Disables the pulumi module.
search_upwardsboolean
Enable discovery of pulumi config files in parent directories.

Format variables

$stack
The current Pulumi stack
$style
Mirrors the value of option style
$symbol
Mirrors the value of option symbol
$username
The current Pulumi username
$version
The version of pulumi

Common adjustments

  • Edit format to reorder its variables or make surrounding text conditional.
  • Adjust its style options to fit the palette used by the rest of the prompt.