unsomething_helper(args,
func,
ses,
sing,
plur)
Helps automate some of the un(something) commands. These are commands
that remove data from a given manager. For example, unalias,
unaction....
This method also handles printing out status information to the user
as to how many somethings were removed.
-
- Parameters:
args -
the map with the str and quiet arguments in it
(type=dict)
func -
the function to call to actually do the work. it should take in a
single string argument.
(type=function)
ses -
the session to apply this to
(type=Session)
sing -
the singular form of the unsomething--for output (ex:
"alias")
(type=string)
plur -
the plural form of the unsomething--for output (ex:
"aliases")
(type=string)
|