schollz / musicsaur

Music synchronization from your browser.
https://radio.schollz.com/
MIT License
281 stars 17 forks source link

Add command line help #47

Open schollz opened 8 years ago

schollz commented 8 years ago

Using

    reader := bufio.NewReader(os.Stdin)
    fmt.Print("Do you want to add music? (If so, enter the full path of the folder with music, if not, press enter): ")
    text, _ := reader.ReadString('\n')
    fmt.Println(text)

Then, use the config-default.cfg if config.cfg doesn't exist. Ask user for the folder to populate with, and then save a config.cfg file.

schollz commented 8 years ago

Also, add PORT/HOST to config file