Add --documentmanager option to commands