commands.sh

packtpub

all

Download freely offered books from packtpub.com.

More info →

Options (2)

-t, --typeboolean

Download the daily offer book into the current directory with the specified book format (defaults to `pdf`)

Example: packtpub download {{[-t|--type]}} {{pdf|ebup|mobi}}
-d, --dirboolean

Download the daily offer book into the specified directory

Example: packtpub download {{[-d|--dir]}} {{path/to/directory}}

Examples (7)

Download the daily offer book into the current directory with the specified book format (defaults to `pdf`)

packtpub download [-t|--type] pdf|ebup|mobi

Download the daily offer book into the specified directory

packtpub download [-d|--dir] path/to/directory

Start an interactive login to packtpub.com

Log out from packtpub.com

Display the daily offer

packtpub view-offer

Open the daily offer in the default web browser

packtpub view-offer

Display the currently logged-in user

made by @shridhargupta | data from tldr-pages