Skip to content

Command line options

Ayooluwa Isaiah edited this page Sep 17, 2021 · 4 revisions

This is the output of focus --help:

DESCRIPTION
    Focus is a cross-platform productivity timer for the command-line. It is based on the Pomodoro Technique,
    a time management method developed by Francesco Cirillo in the late 1980s.

USAGE
    focus [COMMAND] [OPTIONS]

AUTHOR
    Ayooluwa Isaiah <[email protected]>

VERSION
    v1.2.0

COMMANDS
   resume   Resume a previously interrupted work session
   stats    Track your progress with detailed statistics reporting. Defaults to a reporting period of 7 days.
   help, h  Shows a list of commands or help for one command


OPTIONS
    -max, --max-sessions
        The maximum number of work sessions (unlimited by default).

    -s, --short-break
        Short break duration in minutes (default: 5).

    -t, --tag
        Add a tag to a session

    -l, --long-break
        Long break duration in minutes (default: 15).

    -int, --long-break-interval
        The number of work sessions before a long break (default: 4).

    -w, --work
        Work duration in minutes (default: 25).

    -d, --disable-notifications
        Disable the system notification after a session is completed.

     --no-color
        Disable coloured output.

     --sound
        Play ambient sounds continuously during a session. Default options: coffee_shop, fireplace, rain,
        wind, summer_night, playground. Disable sound by setting to 'off'

    -sob, --sound-on-break
        Play ambient sounds during a break sessions.

    -h, --help
        show help

    -v, --version
        print the version

DOCUMENTATION
    https://github.com/ayoisaiah/focus/wiki

WEBSITE
    https://github.com/ayoisaiah/focus
Clone this wiki locally