Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add get/set commands for settings #53

Merged
merged 1 commit into from
Jan 17, 2023
Merged

Add get/set commands for settings #53

merged 1 commit into from
Jan 17, 2023

Conversation

mthalman
Copy link
Owner

Adds a settings get and settings set command to allow callers to retrieve and set the values of settings.

Because the settings in the settings file are hierarchical and represented as JSON, setting names use a dot-notation to separate the names to access the desired setting. For example: dredge settings get fileCompareTool.exePath gets the executable path of the file compare tool from the settings file.

Usage:

dredge settings get <name>
dredge settings set <name> <value>

@mthalman mthalman merged commit bbcd03c into main Jan 17, 2023
@mthalman mthalman deleted the set-settings branch January 17, 2023 01:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant