Command: sleep

Put your Mac to sleep immediately.

Usage

Usage: m sleep [--help]

Description: Put the Mac to sleep immediately or after a specified delay

Options:
  --help      Show this help message and exit

Description

This command is a simple wrapper around pmset sleepnow, which instantly puts the system into sleep mode.

Example

# Put the Mac to sleep
m sleep