useclap::Subcommand;useeyre::Result;pub(super)modtap;pub(super)moduntap;/// Manage Homebrew taps used by bootstrap packages
////// These commands edit `[bootstrap.brew.taps]` so tapped formulae and casks
/// can be fetched directly by mise without a Homebrew installation.
#[derive(Debug, clap::Args)]#[clap(verbatim_doc_comment)]pubstructSystemBrew{#[clap(subcommand)]command: Commands,
}#[derive(Debug, Subcommand)]enumCommands{
Tap(tap::SystemBrewTap),
Untap(untap::SystemBrewUntap),}implSystemBrew{pub async fnrun(self)->Result<()>{matchself.command {Commands::Tap(cmd)=> cmd.run(),Commands::Untap(cmd)=> cmd.run(),}}}