-
-
Couldn't load subscription status.
- Fork 27
Open
Labels
Description
I'm currently exploring some changes to core to make this happen. Some possibilities:
-
Introduce a
dirlikefiletype to go alongsidedirectoryandfilein the corecontentsmachinery. When you open adirlikein the default filebrowser, it will switch to a particular browser, then use that browser'sdrivetocdtodirlike.path. -
add contents handling callback to the optional filetype parameters. At some point in the
'filebrowser:open'command, in between getting anitemand passingitem.pathto the next open command, have a hook for a callback like:(item: Contents.IModel): string => { <do stuff> return path; }