Cli config

It's big, sorry.