hrflow

command module
v0.3.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 19, 2020 License: Apache-2.0 Imports: 8 Imported by: 0

README

hrflow

HR Flow CLI

Usage

hrflow help

Creating Reports
NAME:
   hrflow report - add a new hour report

USAGE:
   hrflow report [command options] [arguments...]

OPTIONS:
   --duration DURATION, -d DURATION  DURATION to report, formatted as 8h30m. Will be ignored if both start and end time are defined. (default: "8h")
   --start TIME, -s TIME             Set workday start to TIME. (default: now - DURATION)
   --end TIME, -e TIME               Set workday end to TIME. (default: now)
   --project PROJECT, -p PROJECT     which PROJECT to assign to the report. (default: none)
   --comment COMMENT, -c COMMENT     assign a COMMENT to the report. (default: empty)
   --date DATE                       DATE for the report, format 'd.M.' (years not supported) (default: today)
   --hourly                          Report units as an hourly worker, also won't include 30 minute lunch in the duration. (default: false)
   --help, -h                        show help (default: false)
Quickly Reporting 8 Hours

Running hrflow report will report an 8 hour workday ending at current time.

Installation

Create a file for the login at ~/.hrflow with the contents:

username: USERNAME
password: PASSWORD
Homebrew (macOS and Linux)
brew install myyra/tap/hrflow
Go

Make sure Go is installed on your machine and $GOPATH/bin is in you $PATH. Then run

go get -u github.com/myyra/hrflow
Binary

Binaries are available from the Releases page.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL