Add fb 'info' support to oputil

This commit is contained in:
Bryan Ashby 2017-02-18 19:00:09 -07:00
parent 058ff3f367
commit 6717cd5179
5 changed files with 180 additions and 7 deletions

View file

@ -38,16 +38,22 @@ valid args:
--new : generate a new/initial configuration
`,
FileBase :
`usage: oputil.js fb <action> [<args>] [<action_specific>]
`usage: oputil.js fb <action> [<args>] <AREA_TAG|SHA|FILE_ID[@STORAGE_TAG] ...> [<args>]
where <action> is one of:
scan <args> AREA_TAG : (re)scan area specified by AREA_TAG for new files
multiple area tags can be specified in form of AREA_TAG1 AREA_TAG2 ...
scan AREA_TAG|SHA|FILE_ID : scan specified areas
AREA_TAG may be suffixed with @STORAGE_TAG; for example: retro@bbs
info AREA_TAG|FILE_ID|SHA : display information about areas and/or files
SHA may be a full or partial SHA-256
valid scan <args>:
--tags TAG1,TAG2,... : specify tag(s) to assign to discovered entries
--tags TAG1,TAG2,... : specify tag(s) to assign to discovered entries
valid info <args>:
--show-desc : display short description, if any
ARE_TAG can optionally contain @STORAGE_TAG; for example: retro_pc@bbs
`
};