core/commands2: Output error when trying to run 'publish' or 'resolve' in offline mode
core/commands2: Added 'version' command