cli: [WIP] Builds. Segfaults.