-
-
Notifications
You must be signed in to change notification settings - Fork 0
Home
The Artifex (4r7if3x) edited this page Dec 27, 2024
·
2 revisions
- Godini works on all major operating systems including BSD, Linux, macOS, and Windows.
- Godini can read, add, modify, and delete settings across the entire config file or specific sections of it.
- Godini supports toggling and manipulation of commented settings for a tidier result.
- Godini accepts various forms of input and could be utilized for bulk operations.
Download the appropriate binary or package for your processor architecture and operating system from the latest release. Then, you can install it as a system command:
BSD, Linux, and macOS
sudo chmod +x /path/to/godini
sudo mv /path/to/godini /usr/bin/godiniWindows
Unblock-File -Path "C:\path\to\godini.exe"
Move-Item -Path "C:\path\to\godini.exe" -Destination "C:\Windows\System32\godini.exe"or, follow the instructions below to install the provided packages:
Debian-based Linux distros
sudo apt install /path/to/godini.debRedHat-based Linux distros
sudo dnf install /path/to/godini.rpmotherwise, you can also compile and install it directly from the source if you have Go installed on your system:
go install github.com/bilbilak/godinigodini --helpman godiniExamples:
BSD, Linux, and macOS
godini ... /path/to/settings.txtgodini ... < /path/to/settings.txtcat /path/to/settings.txt | godini ...godini ... <<EOF
...
EOFWindows
godini ... "C:\path\to\settings.txt" ...Get-Content "C:\path\to\settings.txt" | godini ...$settings = @"
...
"@
$settings.Trim() | godini ...@"
...
"@ | godini ...