Made it so that the config uses a shared cache (which is shared with the password gen).
Adjusted some naming to have slightly shorter variable names (pw_gen). Removed need for section in password generator. Adjusted passing of the renamed variable around and the other places pw_gen should be used. Added helper class that can be used by both pw_gen and cfg to get ids and adjusted print out of the config to now just print out the shared cache, which seems to make sense to me.
This commit is contained in:
@@ -53,7 +53,8 @@ def parse():
|
||||
action="store_true",
|
||||
dest="dryrun",
|
||||
default=False,
|
||||
help="perform actions without actually doing any of them and/or attempt to do this: (default: %default)")
|
||||
help=("perform ACTION but do not actually run any of the commands"
|
||||
" that would normally complete ACTION: (default: %default)"))
|
||||
|
||||
base_group = OptionGroup(parser, "Install & uninstall & start & stop specific options")
|
||||
base_group.add_option("-a", "--action",
|
||||
|
Reference in New Issue
Block a user