Local post

Finish local application CLI and TCP server with the rep