Skip to content

Config Set

Sets a configuration key and value for Didact CLI.

bash
didact config set <KEY_NAME> <KEY_VALUE>
  • <KEY_NAME> (string): The config setting name.
  • <KEY_VALUE> (any): The config setting value.

INFO

For a list of all config settings, see the config page. The settings must be referenced by their exact JSON dot notation.

Examples

Set the database provider and database connection string in back-to-back commands.

bash
didact config set Database.Provider SQLServer
bash
didact config set Database.ConnectionString "localhost"

Set the license key.

bash
didact config set LicenseKey someAPIKeyabd123...

Proudly powered by VitePress