2022-02-04 18:59:42 +00:00
|
|
|
package main
|
|
|
|
|
|
|
|
import (
|
|
|
|
"flag"
|
2024-01-20 15:41:54 +00:00
|
|
|
"fmt"
|
2022-02-04 18:59:42 +00:00
|
|
|
"os"
|
|
|
|
|
2022-04-04 08:29:28 +00:00
|
|
|
"novit.tech/direktil/pkg/cpiocat"
|
2022-02-04 18:59:42 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
func main() {
|
|
|
|
flag.Parse()
|
|
|
|
|
2022-03-08 10:45:56 +00:00
|
|
|
err := cpiocat.Append(os.Stdout, os.Stdin, flag.Args())
|
|
|
|
if err != nil {
|
2024-01-20 15:41:54 +00:00
|
|
|
fmt.Fprintln(os.Stderr, err.Error())
|
|
|
|
os.Exit(1)
|
2022-03-08 10:45:56 +00:00
|
|
|
}
|
2022-02-04 18:59:42 +00:00
|
|
|
}
|