aboutsummaryrefslogtreecommitdiff
path: root/app/main.go
blob: d1c4195c9244cef1ea91b62025680b4077df3707 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
package main

import (
	"fmt"
	// Uncomment this block to pass the first stage!
	// "os"
	// "os/exec"
)

// Usage: your_docker.sh run <image> <command> <arg1> <arg2> ...
func main() {
	// You can use print statements as follows for debugging, they'll be visible when running tests.
	fmt.Println("Logs from your program will appear here!")

	// Uncomment this block to pass the first stage!
	//
	// command := os.Args[3]
	// args := os.Args[4:len(os.Args)]
	//
	// cmd := exec.Command(command, args...)
	// output, err := cmd.Output()
	// if err != nil {
	// 	fmt.Printf("Err: %v", err)
	// 	os.Exit(1)
	// }
	//
	// fmt.Println(string(output))
}