Add command line encoder