def shell_named

cli@0.2.0.0 · cli.bend:7652

import cli@0.2.0.0/cli.bend as Cli
import Base

7652# The shell completions was given, which one_of limits to these three.
7653def shell_named(+name: String) -> Shell:
7654  Bool.pick(Shell, String.eq(name, "zsh"), Zsh{},
7655    Bool.pick(Shell, String.eq(name, "fish"), Fish{}, Bash{}))

Uses (4)

Used by (1)