package main

import (
    "github.com/datamaglia/gimbal/spinner"
)

func main() {
    config := spinner.LoadJsonConfig("test.json")
    spinner.ExecuteTestConfig(config)
}

package main

import (
    "flag"

    "github.com/datamaglia/gimbal/spinner"
)

var filename = flag.String("f", "", "Read the config from a file")

func main() {
    flag.Parse()

    config := spinner.LoadJsonConfig(*filename)
    spinner.ExecuteTestConfig(config)
}

Set input file from the command line.
Set input file from the command line.
