add collapse option to litetran cli interface