Skip to content

Overview

Managers are the actual provider of snippets.

Supported managers

Moreover, SnipKit allows you to provide snippets via a simple file system directory.

Adding a manager

Adding a manager means that SnipKit will retrieve snippets from it each time it is started.

This command lets you add a manager to your configuration:

snipkit manager add

It represents a list of all supported managers that have not been added or enabled in your configuration. It will try to detect the path to the manager and configure everything automatically. If SnipKit thinks it has found the corresponding manager and everything looks good so far, it will be enabled. Otherwise, all required config options will be added to your config file, however, the manager will be disabled.

Enabling & Disabling

Each manager can be enabled or disabled. By default, all managers are disabled:

config.yaml
manager:
    <managerName>:
      # If set to false, the <managerName> is disabled 
      enabled: true

If a manager does not work, SnipKit refuses to startup. In this case, disable the manager by setting enabled: false or fix the configuration.