cli + table generation