Skip to content
Snippets Groups Projects
Verified Commit 4ad14183 authored by STEVAN Antoine's avatar STEVAN Antoine :crab:
Browse files

add notes

parent 7d962863
No related branches found
No related tags found
1 merge request!207add `container list` for Docker containers
Pipeline #8417 passed
......@@ -225,12 +225,14 @@ fn docker_images_to_table(lines: String) -> Table {
table
}
// NOTE: this could be migrated to [`nob.rs`](https://gitlab.isae-supaero.fr/a.stevan/nob.rs)
fn extend_and_run(cmd: &[&str], args: &[&str]) {
let mut cmd = cmd.to_vec();
cmd.extend_from_slice(&args);
nob::run_cmd_as_vec_and_fail!(cmd);
}
// NOTE: this could be migrated to [`nob.rs`](https://gitlab.isae-supaero.fr/a.stevan/nob.rs)
fn extend_and_run_and_capture_silent(cmd: &[&str], args: &[&str]) -> String {
let mut cmd = cmd.to_vec();
cmd.extend_from_slice(&args);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment