add paths interface to command-line API