add --offline option to install, create, update and remove commands