Skip to main content

run_with

Function run_with 

Source
pub async fn run_with<W: Write>(
    out: &mut W,
    args: &InitArgs,
    auth_path: &Path,
) -> Result<Exit>
Expand description

run_to, against a named auth store.

The store path is a parameter for the same reason check::run_with takes a root: it is user-level state outside the repository, and a test that used the real one would read the developer’s own keys - making key_in_store, and so the rendered drep.toml, depend on whose machine the suite ran on. It would also write to it.