Authentication
The MachineMetrics CLI provides commands to manage your authentication state with the MachineMetrics API.
Commands
Login
mmdev login
Authenticates you with the MachineMetrics API. This command will prompt you for your credentials and store the access token securely.
Logout
mmdev logout
Clears your stored access token and logs you out of the MachineMetrics API.
Usage Example
-
To start working with the MachineMetrics platform, first authenticate:
mmdev login
-
When you're done, you can log out:
mmdev logout