func runGoTimer(args []string) int {
	// Sanity check arguments
	if len(args) < 2 {
		printUsage()
		return command.RESULT_MISSING_ARGS
	}

	name := args[1]
	arguments := args[2:]

	commands := setupCommands()
	cmd, ok := commands[name]
	if !ok {
		fmt.Fprintf(out, "Couldn't find command: %v\n", name)
		printUsage()
		return command.RESULT_CMD_NOT_FOUND
	}

	return cmd.Run(arguments)
}
// runGoTimer runs the go-timer app with the given arguments.
runGoTimer runs the go-timer app with the given arguments.
// runGoTimer runs the go - timer app with the given arguments .
func runGoTimer(args []string) int {
	if len(args) < 2 {
		printUsage()
		return command.RESULT_MISSING_ARGS
	}
	name := args[1]
	arguments := args[2:]
	commands := setupCommands()
	cmd, ok := commands[name]
	if !ok {
		fmt.Fprintf(out, "Couldn't find command: %v\n", name)
		printUsage()
		return command.RESULT_CMD_NOT_FOUND
	}
	return cmd.Run(arguments)
}
func runGoTimer ( args [ ] string ) int { if len ( args ) < 2 { printUsage ( ) return command . RESULT_MISSING_ARGS } name := args [ 1 ] arguments := args [ 2 : ] commands := setupCommands ( ) cmd , ok := commands [ name ] if ! ok { fmt . Fprintf ( out , " \n " , name ) printUsage ( ) return command . RESULT_CMD_NOT_FOUND } return cmd . Run ( arguments ) }
runGoTimer runs the go-timer app with the given arguments.
runGoTimer runs the go - timer app with the given arguments .
// Sanity check arguments