[cli/engine/commands/shell] Add terminate-with-null and ps1 options