Office 365 CLI is an opensource npm package used to manage the Office 365, SharePoint Online, SharePoint Framework, and Azure AD projects with the set of commands. These commands can be used on any of the popular OS platforms, like - Windows, MacOs, and Linux.
In this video, you will learn about Office 365 CLI, how to install it on your machine, and how to authenticate and use it. I have given examples of accessing a web object from SharePoint Online with authentication.