findref: New command, like find but shows files in a specified git ref.
This commit is contained in:
parent
e880d0d22c
commit
ecc3dc8433
7 changed files with 53 additions and 2 deletions
|
@ -19,8 +19,10 @@ import Utility.DataUnits
|
|||
import Types.Key
|
||||
|
||||
def :: [Command]
|
||||
def = [noCommit $ noMessages $ withOptions [formatOption, print0Option, jsonOption] $
|
||||
command "find" paramPaths seek SectionQuery "lists available files"]
|
||||
def = [mkCommand $ command "find" paramPaths seek SectionQuery "lists available files"]
|
||||
|
||||
mkCommand :: Command -> Command
|
||||
mkCommand = noCommit . noMessages . withOptions [formatOption, print0Option, jsonOption]
|
||||
|
||||
formatOption :: Option
|
||||
formatOption = fieldOption [] "format" paramFormat "control format of output"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue