Skip to content

Commit

Permalink
feat: add finch cp command (#135)
Browse files Browse the repository at this point in the history
Issue #, if available: #82

*Description of changes:*
Added `finch cp` command and its e2e tests (runfinch/common-tests#11).

*Testing done:*
Unit tests and E2E tests.


- [X] I've reviewed the guidance in CONTRIBUTING.md


#### License Acceptance

By submitting this pull request, I confirm that my contribution is made
under the terms of the Apache 2.0 license.

Signed-off-by: Mrudul Harwani <[email protected]>
  • Loading branch information
mharwani authored Jan 4, 2023
1 parent ffb90be commit 5989361
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions cmd/finch/nerdctl.go
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,7 @@ var nerdctlCmds = map[string]string{
"compose": "Compose",
"container": "Manage containers",
"create": "Create a new container",
"cp": "Copy files/folders between a running container and the local filesystem",
"events": "Get real time events from the server",
"exec": "Run a command in a running container",
"history": "Show the history of an image",
Expand Down
1 change: 1 addition & 0 deletions e2e/e2e_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ func TestE2e(t *testing.T) {
tests.Run(&tests.RunOption{BaseOpt: o, CGMode: tests.Unified})
tests.Start(o)
tests.Stop(o)
tests.Cp(o)
tests.Tag(o)
tests.Save(o)
tests.Load(o)
Expand Down

0 comments on commit 5989361

Please sign in to comment.