Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Komodo
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Dragoon
Komodo
Commits
4ad14183
Verified
Commit
4ad14183
authored
1 week ago
by
STEVAN Antoine
Browse files
Options
Downloads
Patches
Plain Diff
add notes
parent
7d962863
No related branches found
No related tags found
1 merge request
!207
add `container list` for Docker containers
Pipeline
#8417
passed
1 week ago
Stage: fmt
Stage: test
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
make.rs
+2
-0
2 additions, 0 deletions
make.rs
with
2 additions
and
0 deletions
make.rs
+
2
−
0
View file @
4ad14183
...
...
@@ -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
);
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment