Closed DavidMarchant closed 6 years ago
With the previous 4 commits this PR makes redundant #98, which shall be closed shortly. This PR now additionally fixes #93
Those changes have been made - apologies again for shoving so much stuff into one PR, it was symptomatic of having to make so many changes based on yet un-merged code
Responded to your comments, once they have been addressed this is good to merge
Fixes #79 when merged ~Based off #98~ Replaces #98 Implements
batch avail
andbatch avail-families
commands. The former takes a namespace (offset frombatch
) and displays all commands in & subdirectories of that namespace. If the argument is blank it treats the namespace asbatch
.The latter shows all families.
Currently there is no click autocomplete for the arguments to
batch avail
, how essential is this?EDIT: Additionally with the closure of #98 this PR also contains all refactoring of the now outdated
action.py
.each_dir
functioncommand
,command_helper
,glob_all
andglob_helper
createdaction.py
module is now renamed toclick_tools.py
ClickGlob
class from action.py has been removed and its methods are now simply inclick_tools
ClickGlob
functionality that isn't related to click or manipulating theAction
orActionFamily
classes has been moved to a new moduleexplore_tools
explore_tools
contains general functions for exploring thetools
file system, with no interaction with click