Config

Get

Display configurations
Usage:
1
dotnet ocengine.dll config get --name [name]
Copied!
Option
Alias
Description
Mandatory
--name
-n
Name of the configuration item
No
Note: If the --name option is not included, it will display all configuration items.

Import

Import configuration from a config file
Usage:
1
dotnet ocengine.dll config import --file [file]
Copied!
Option
Alias
Description
Mandatory
--file
-f
Path to the config file
Yes

Remove

Remove configurations
Usage:
1
dotnet ocengine.dll config remove --name [name]
Copied!
Option
Alias
Description
Mandatory
--all
-a
Remove all configuration items
No
--name
-n
Name of the configuration item
No
Note: either --all or --name option needs to be included in the command

Set

Set configurations
Usage:
1
dotnet ocengine.dll config set --name [name] --value [value]
Copied!
Option
Alias
Description
Mandatory
--name
-n
Name of the configuration item
No
--value
-v
Value of the configuration item
No
Note:
    If the --name option is not included, it will enter "wizard-mode" which will prompt user with all configuration items to configure
    If the --name option is included, the --value option needs to be included as well
Last modified 3yr ago
Copy link