enhance: gracefully handle file graph only commands

Commands like graph/re-index resulted in a blank graph when run in
a db graph. This gracefully handles this command and other known
file graph commands by adding a :file-graph? config key to a command
This commit is contained in:
Gabriel Horner
2023-11-22 16:19:56 -05:00
parent 6c5072e7e6
commit d860812b75
5 changed files with 66 additions and 31 deletions

View File

@@ -22,6 +22,7 @@
[frontend.extensions.srs :as srs]
[frontend.handler.command-palette :as command-palette]
[frontend.handler.events :as events]
[frontend.handler.file-based.events]
[frontend.handler.file :as file-handler]
[frontend.handler.global-config :as global-config-handler]
[frontend.handler.notification :as notification]