oHirokiKumamoto / hack-spirit

Make TeamSpirit hackable
18 stars 6 forks source link

10 break time #12

Closed oHirokiKumamoto closed 8 years ago

oHirokiKumamoto commented 8 years ago

$ bin/hack-spirit break --help

  Usage: break [options]

  Record a break time

  Options:

    -h, --help                     output usage information
    -d, --datetime [YYYYMMDDHHmm]  When you want to record your break time .(default: now)
    -p, --period [HHmm]            How long you want to take a break.

and

$ bin/hack-spirit break_times --help

  Usage: break_times [options]

  Manage a break times

  Options:

    -h, --help                     output usage information
    -d, --datetime [YYYYMMDDHHmm]  When you want to record your break time .(default: now)
oHirokiKumamoto commented 8 years ago

Implement #10 as break command

oHirokiKumamoto commented 8 years ago

breaked command


$hack-spirit breaked --help

  Usage: breaked [options]

  Record a break time until the time

  Options:

    -h, --help                     output usage information
    -d, --datetime [YYYYMMDDHHmm]  When you want to record your break time .(default: now)
    -p, --period [HHmm]            How long you want to take a break.
oHirokiKumamoto commented 8 years ago

Don't ask for permission, beg for forgiveness

LGTM

:+1: :-1: