File tree Expand file tree Collapse file tree 3 files changed +5
-4
lines changed Expand file tree Collapse file tree 3 files changed +5
-4
lines changed Original file line number Diff line number Diff line change 14
14
limitations under the License.
15
15
*/
16
16
17
- package main
17
+ package internal
18
18
19
19
import (
20
20
"github.com/spf13/cobra"
21
21
)
22
22
23
- func newInternalCommand () * cobra.Command {
23
+ func NewInternalCommand () * cobra.Command {
24
24
var internalCommand = & cobra.Command {
25
25
Use : "internal" ,
26
26
Short : "DO NOT EXECUTE MANUALLY" ,
Original file line number Diff line number Diff line change 14
14
limitations under the License.
15
15
*/
16
16
17
- package main
17
+ package internal
18
18
19
19
import (
20
20
"errors"
Original file line number Diff line number Diff line change @@ -35,6 +35,7 @@ import (
35
35
"github.com/containerd/nerdctl/v2/cmd/nerdctl/completion"
36
36
"github.com/containerd/nerdctl/v2/cmd/nerdctl/helpers"
37
37
"github.com/containerd/nerdctl/v2/cmd/nerdctl/image"
38
+ "github.com/containerd/nerdctl/v2/cmd/nerdctl/internal"
38
39
"github.com/containerd/nerdctl/v2/cmd/nerdctl/ipfs"
39
40
"github.com/containerd/nerdctl/v2/cmd/nerdctl/login"
40
41
"github.com/containerd/nerdctl/v2/cmd/nerdctl/namespace"
@@ -305,7 +306,7 @@ Config file ($NERDCTL_TOML): %s
305
306
// #endregion
306
307
307
308
// Internal
308
- newInternalCommand (),
309
+ internal . NewInternalCommand (),
309
310
310
311
// login
311
312
login .NewLoginCommand (),
You can’t perform that action at this time.
0 commit comments