MCPcopy Create free account
hub / github.com/Metaswitch/floki / base_args

Method base_args

src/command.rs:181–187  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

179 }
180
181 fn base_args(&self) -> Vec<&OsStr> {
182 let mut base_args: Vec<&OsStr> = vec!["run".as_ref(), "--rm".as_ref(), "-t".as_ref()];
183 if atty::is(atty::Stream::Stdout) && atty::is(atty::Stream::Stdin) {
184 base_args.push("-i".as_ref());
185 }
186 base_args
187 }
188}
189
190pub fn enable_forward_ssh_agent(

Callers 1

runMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected