pub enum ServicesCommand {
Add {
names: Vec<String>,
},
Remove {
names: Vec<String>,
purge: bool,
},
List {
all: bool,
},
Projects {
action: Option<ProjectsAction>,
alloc: bool,
},
Catalog,
Restart {
names: Vec<String>,
},
Status {
name: Option<String>,
},
Logs {
name: Option<String>,
follow: bool,
lines: usize,
},
Daemon(ServicesDaemonCommand),
}Variants§
Add
Declare a service in the project. Errors if the name isn’t in
the catalog. Use bougie services catalog to discover names.
Remove
Remove a service declaration from the project.
Fields
List
List the services declared in the current project.
Fields
Projects
List every provisioned tenant across the shared services and the
project each belongs to. Reads the on-disk tenant ledgers; no
daemon required. With purge, deprovisions tenants instead.
Fields
action: Option<ProjectsAction>Catalog
Print the built-in service catalog (no daemon required).
Restart
Restart the named services (or every declared service). Stops then starts the underlying global process; the tenant ledger is preserved, so generated passwords / DB numbers survive. Affects every project sharing the same service.
Status
Per-service status for the current project.
Logs
Tail (and optionally follow) service logs. With no name, shows
the combined (“multilog”) stream of every service declared in the
project, each line prefixed with its (colorized) service name —
the same view bougie up attaches to.
Fields
Daemon(ServicesDaemonCommand)
Inspect and control the bougied daemon.
Trait Implementations§
Source§impl Debug for ServicesCommand
impl Debug for ServicesCommand
Source§impl FromArgMatches for ServicesCommand
impl FromArgMatches for ServicesCommand
Source§fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
Source§fn from_arg_matches_mut(
__clap_arg_matches: &mut ArgMatches,
) -> Result<Self, Error>
fn from_arg_matches_mut( __clap_arg_matches: &mut ArgMatches, ) -> Result<Self, Error>
Source§fn update_from_arg_matches(
&mut self,
__clap_arg_matches: &ArgMatches,
) -> Result<(), Error>
fn update_from_arg_matches( &mut self, __clap_arg_matches: &ArgMatches, ) -> Result<(), Error>
ArgMatches to self.Source§fn update_from_arg_matches_mut<'b>(
&mut self,
__clap_arg_matches: &mut ArgMatches,
) -> Result<(), Error>
fn update_from_arg_matches_mut<'b>( &mut self, __clap_arg_matches: &mut ArgMatches, ) -> Result<(), Error>
ArgMatches to self.Source§impl Subcommand for ServicesCommand
impl Subcommand for ServicesCommand
Source§fn augment_subcommands<'b>(__clap_app: Command) -> Command
fn augment_subcommands<'b>(__clap_app: Command) -> Command
Source§fn augment_subcommands_for_update<'b>(__clap_app: Command) -> Command
fn augment_subcommands_for_update<'b>(__clap_app: Command) -> Command
Command so it can instantiate self via
FromArgMatches::update_from_arg_matches_mut Read moreSource§fn has_subcommand(__clap_name: &str) -> bool
fn has_subcommand(__clap_name: &str) -> bool
Self can parse a specific subcommand