How to export Text replacements from the Keyboard System Preference from shell?
There is an unofficial command line tool, which does exactly what you want, its called shortcuts.
As mentioned on GitHub, you can install it via homebrew 

brew install rodionovd/taps/shortcuts


and then list your current replacements via 

shortcuts read


and add new ones via 

shortcuts import &lt;input.plist&gt;
shortcuts create &lt;shortcut&gt; &lt;new phrase&gt;
shortcuts update &lt;shortcut&gt; &lt;phrase&gt;
shortcuts delete &lt;shortcut&gt;


for details, see the documentation.