data-dir argument and hg-name option#50
Conversation
|
If we want to have a default user directory for the default container, I would propose having it in a namespace like |
|
Though, an alternative could be to provide a confirmation prompt when no input is passed... |
|
TLDR: I agree with the premise but not the solution. Specifically, I don't think that
I don't know about others but I always type
This is a documentation issue that should be cleared up using
Most services start up just fine with no arguments. Examples:
I think that's fine.
See point #1. We still need a default though. For example, the command I use by far and away most often is |
|
Yeah, I see the point about having a default directory and about service launchers. I think namespacing I would propose then for
|
That sounds sensible 👍 |
|
Okay, I reverted the I also changed the default directory to |
Description
Someone types
higlass-manage startand expects to see help text because they're too lazy to type--help, but instead it pulls a 2GB docker image and runs a container in a directory that isn't advertised.It's not obvious what options are needed to run multiple instances.
What was changed in this pull request?
higlass-manage startrequires a data directory as argumenthiglass-manage start-n,--hg-namea consistent option to all relevant commands.--nameto--display-nameversioninto an option.Why is it necessary?
A command with no arguments shouldn't have side-effects.
Fixes #___
Checklist