Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add command line help #47

Open
schollz opened this issue Apr 15, 2016 · 1 comment
Open

Add command line help #47

schollz opened this issue Apr 15, 2016 · 1 comment

Comments

@schollz
Copy link
Owner

schollz commented Apr 15, 2016

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
Copy link
Owner Author

schollz commented Apr 15, 2016

Also, add PORT/HOST to config file

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant