generalized cli options, implemented direct