![Latest Version] ![Documentation] ![License]

pedit

pedit is a command line utility that helps with automation of editing configuration files.

Features

Example usage

Ensure that ssh_config file contains key StrictHostKeyChecking set to value yes; if the key is absent put the pair before line containing UserKnownHostsFile.

pedit --in-place ~/.ssh/ssh_config --diff line-pair --separator " " "StrictHostKeyChecking yes" present relative-to "UserKnownHostsFile" before

Installation

cargo install pedit