github.com/mvdan/u-root-coreutils@v0.0.0-20230122170626-c2eef2898555/cmds/core/cp/cp.go (about) 1 // Copyright 2016-2017 the u-root Authors. All rights reserved 2 // Use of this source code is governed by a BSD-style 3 // license that can be found in the LICENSE file. 4 5 package main 6 7 import ( 8 "os" 9 10 "github.com/mvdan/u-root-coreutils/pkg/cp" 11 ) 12 13 func main() { 14 runParams := cp.RunParams{ 15 Stdin: os.Stdin, 16 Stdout: os.Stdout, 17 Stderr: os.Stderr, 18 } 19 os.Exit(cp.RunMain(runParams, os.Args[1:]...)) 20 }