Fix publish view option to be more consistent with other cli commands