traels-it / kommandant

A command palette implementation for Rails with Hotwire and Meilisearch
MIT License
41 stars 0 forks source link

Feature. Rake tasks for reindexing and clearing the search engine. #21

Closed woller closed 7 months ago

woller commented 7 months ago

Adds the tasks below

rails kommandant:clear_command_index                 # Clears the Kommandant commands from the search engine
rails kommandant:clear_indexes                       # Clears the search engine of all commands and models
rails kommandant:clear_model_index                   # Clears the search engine of all models set up with Kommandant
rails kommandant:install:migrations                  # Copy migrations from kommandant to application
rails kommandant:reindex                             # Reindexes all commands and models
rails kommandant:reindex_commands                    # Reindexes all commmands defined in the commands.json file (or w...
rails kommandant:reindex_models                      # Reindexes all models set up with Kommandant