-
Notifications
You must be signed in to change notification settings - Fork 70
Feature request: add -a parameter to genanswers #588
Comments
Well it depends on your take on this. Most of the time
In this case what you are saying is With |
What I'm talking about is sensible defaults. That is, the default for one command should be the same as the default for another command. If Having the default be one thing for |
I'll be honest I've never used genanswers in a context where I wasn't grabbing it from a remote image. So there are two cases:
For 1. is it ok to have it populated in the local directory. I don't really see another option without forcing the user to tell us where to put it. For 2. we can detect this and put it in the directory given (my thoughts are that most of the time the user would be in the directory and just pass ./). |
The only problem with the above approach is that it's inconsistent based on where the nulecule currently resides, which I don't like. |
well, per above, my concern is that |
I definitely don't think having
since I guess we could generate a message to the user to tell them exactly where we put the answers.conf file. Maybe that would make it a bit more clear. |
I guess I'm not seeing what's wrong with putting it in the Nulecule directory if the user supplies one? If the user wants it somewhere else, then they could supply a -1 on the message. |
I just personally like consistent behavior. For this command, since there will not always be a local context dir I would prefer that it always just populates in cwd. If the user wants to use a Nulecule from a local dir then they could cd to the directory first:
The only way to have consistent behavior with this command is to leave it this way, or force the user to specify where he wants it to be output everytime (i.e. don't assume where they want it). |
@jberkus did the previous discussion give any resolution to this issue in your mind? |
Changed issue. Now it's a feature request: we should support "-a" for genanswers so that I can designate where to put the answers.conf through some mechanism other than "cd". |
Fixues issue: projectatomic#588 Adds the feature to specify the destination of your answers.conf file generation.
yay! |
Fixues issue: projectatomic#588 Adds the feature to specify the destination of your answers.conf file generation.
Fixues issue: projectatomic#588 Adds the feature to specify the destination of your answers.conf file generation.
If I do:
It will drop an answers.conf.sample in my current directory, not in the target directory of atomic-site/Nulecule. Which is both messy, and a problem because 'atomicapp run' will look for answers.conf in the target directory when it runs.
The text was updated successfully, but these errors were encountered: