/**
* pgh seed — redirected to pgh-sidecar.
*
* Seeding (DeployServer on the hyperident topic + ReleaseRegistry
* advertiser on the swarm) is now a built-in responsibility of
* pgh-sidecar. It always seeds while running. Starting a separate
* `pgh seed` process would fight pgh-sidecar for the RocksDB single-
* writer lock on ~/.config/pgh/release-registry/.
*
* If you want to seed, run `bin/pgh-sidecar` (or `systemctl --user
* start pgh-sidecar` once the unit is installed). Future pgh seed
* subcommands (status / stop / start) will proxy to pgh-sidecar over
* its UDS at ~/.pgh/svc.sock.
*/
export const usage = `pgh seed — DEPRECATED
Seeding is now a built-in responsibility of pgh-sidecar (it always seeds
while running). Start it with 'bin/pgh-sidecar' instead.`
export async function run (_client, _args) {
console.error('pgh seed has been replaced by pgh-sidecar.')
console.error('')
console.error('pgh-sidecar holds the release-registry lock and continuously')
console.error('seeds the tree store + advertises the ReleaseRegistry on the')
console.error('hyperident topic while running. Start it with:')
console.error('')
console.error(' bin/pgh-sidecar')
console.error('')
console.error('Once running, pgh publish / install / update automatically')
console.error('talk to it via ~/.pgh/svc.sock.')
throw new Error('pgh seed is deprecated — run pgh-sidecar instead')
}