select
select lets the user choose one string from a list.
Signature
select(options: SelectOptions): stringtyrus
import { select } from "tyrus:cli";
const target: string = select({
message: "Target?",
choices: ["script", "cli", "api"],
});