a work time management CLI tool for any platform

english |日本語

README LOGO

jobgosh | job management tool made with golang for shell

Contributor List

a multi-platform work time management CLI tool to track and improve your day to day workflow

👥 Contributors

🇺🇸 english

dependancies for build

- go 
    macOS, brew install go
    debian, sudo apt install go -y
    arch, sudo pacman -S go

installation

run this command below:

chmod +x scripts/install.sh
./scripts/install.sh

default, this script add path both bash/zsh & fish

usage

  • jobgosh

    displays help for this tool

  • jobgosh -times all

    see how long you spent your time for each group

  • jobgosh -from [YYYY/MM/DD] -to [YYYY/MM/DD]

    more specific option of -t all

    you can choose the duration of time

  • jobgosh -work [up | down]

    the current directory will be assigned as work space

    up to start work

    down to finish work

    listen, you need to down unless you want waste your whole work time

doesn't work?

try importing them into each shell settings:

bash | zsh

~/.profile

export PATH="~/.jobgosh" : "$PATH" 

fish

~/.config/fish/conf.d/jobgosh.fish

set PATH ~/.jobgosh : "$PATH" 

development with a docker

1. turn true the DOCKER_DEVELOPMENT variable

  • in the main.go at var section, there is a variable called DOCKER_DEVELOPMENT
  • when its true, u can develop with docker

2. launch the docker

# build go image
sudo docker-compose build
# launch image on background process
sudo docker-compose up -d
# exec go to command using docker envinroment
sudo docker-compose exec jobgosh go run *.go

ERROR MEMOS

  • #01 -t !== month, year or all
  • #02 -w !== up or down
  • #03 log directory error
  • #04 group json not found

🇯🇵 日本語

ビルドのための依存パッケージ

- go 
    macOS, brew install go
    debian, sudo apt install go -y
    arch, sudo pacman -S go

インストール方法

以下のコマンドを実行:

chmod +x scripts/install.sh
./scripts/install.sh

デフォルトでは bash zsh & fish にパスが通ります

使い方

  • jobgosh

    jobgoshの使い方を表示します

  • jobgosh -times all

    個別のグループでどれだけ時間を費やしたか表示されます

  • jobgosh -from [YYYY/MM/DD] -to [YYYY/MM/DD]

    期間を指定することでその間どれだけ作業をしたか表示されます

  • jobgosh -work [up | down]

    現在のディレクトリを一つのワークスペースとして認識し時間をはかります

    upで作業を始める時のコマンドです

    downで作業が終わった時のコマンドです

    注意事項: down実行しないと時間が合算されませんので気をつけてください

動きません!

あなたのシェルに以下の記述を手動でおねがいします:

bash | zsh

~/.profile

export PATH="~/.jobgosh" : "$PATH" 

fish

~/.config/fish/conf.d/jobgosh.fish

set PATH ~/.jobgosh : "$PATH" 

ドッカーを使った開発

1. DOCKER_DEVELOPMENT定数をTRUEにセット

  • main.goを見てください、 varセクションにDOCKER_DEVELOPMENTという定数が見つかると思います
  • これがTRUEの時はdocker環境での開発をするためのパスを通すことができます

2. ドッカーを立ち上げます

# イメージをビルド
sudo docker-compose build
# バックグラウンドでイメージを立ち上げる
sudo docker-compose up -d
# go run *.go をコンテナ内で実行する
sudo docker-compose exec jobgosh go run *.go
Similar Resources

Hakuna Go: an unofficial CLI for the time-tracking tool Hakuna

Hakuna Go Hakuna Go is an unofficial CLI for the time-tracking tool Hakuna. Inst

Apr 25, 2022

gopsa is a CLI tool to enter timecard entries to the Salesforce PSA platform.

gopsa is a CLI tool to enter timecard entries to the Salesforce PSA platform.

gopsa Overview gopsa is a CLI tool to enter timecard entries to the Salesforce PSA platform. Credit This project is a rewrite of the excellent work fr

Nov 22, 2021

Generate an interactive, autocompleting shell for any Cobra CLI

Generate an interactive, autocompleting shell for any Cobra CLI

cobra-shell Description Leverages the Cobra completion API to generate an interactive shell for any Cobra CLI, powered by go-prompt. On-the-fly autoco

Dec 19, 2022

Go library and CLI utility for /etc/hosts management.

Go library and CLI utility for /etc/hosts management.

Etc Hosts Management Utility & Go Library /etc/hosts Management It is easy to open your /etc/hosts file in text editor and add or remove entries. Howe

Nov 27, 2022

An excellent tool for converting json files to structs or classes in any programming language.

An excellent tool for converting json files to structs or classes in any programming language.

Explore Usage » Report Bug · Request Feature Table of Contents About The Project Supported Languages Getting Started Usage Parameters Set Up Your Own

Dec 10, 2022

Symfony-cli - The Symfony CLI tool For Golang

Symfony CLI Install To install Symfony CLI, please download the appropriate vers

Dec 28, 2022

bcrypt-cli is the CLI tool for hashing passwords with bcrypt.

bcrypt-cli bcrypt-cli is the CLI tool for hashing passwords with bcrypt. Install go install github.com/ryicoh/bcrypt-cli Usage It can be used like bas

Jan 9, 2023

GTDF-CLI - The official CLI tool to operate with Getting Things Done Framework

GTDF-CLI - The official CLI tool to operate with Getting Things Done Framework

This is the official CLI tool to operate with Getting Things Done Framework. How

Feb 14, 2022

Simple time tracking CLI

Simple time tracking CLI

⏰ timetrace timetrace is a simple CLI for tracking your working time. Installation Homebrew brew tap dominikbraun/timetrace brew install timetrace Do

Jan 8, 2023
Related tags
ntest is a cross-platform cli app that runs multiple tests against any address.
ntest is a cross-platform cli app that runs multiple tests against any address.

ntest ntest is a cross-platform cli app that runs multiple tests against any address. About ntest Having the ability to run common tests against any d

Jan 3, 2022
A CLI tool for working with CloudWatch logs. It performs functions that I need at work.

CloudWatch Logs Utility A simple utility for working with CloudWatch Logs. AWS should probably build this themselves, but since they won't, I am here

Dec 31, 2021
This tool is a CLI-interactive tool for TA who use eeclass platform

NTHU eeclass TA helper. This tool is a CLI-interactive tool for TA who use eeclass platform. It helps TA to download all the submitted homework, and use CSV to record the score and comment, and upload CSV score directly to the eeclass platform with just 2 Enter key!

Dec 11, 2021
Cli tool to translate text from any language into german

GERMAN A cli tool for converting text into German. Build Locally $> go build $> go install Dependencies To execute successfully, a free tier DEEPL API

Jan 24, 2022
A CLI tool to find the absolute path of any folder in your local file system.

Table of Contents What is this? How to use this Examples of usage How to compile it What am I looking at It's a CLI tool that I made for finding the a

Jan 15, 2022
tfacon is a CLI tool for connecting Test Management Platforms and Test Failure Analysis Classifier.

Test Failure Classifier Connector Description tfacon is a CLI tool for connecting Test Management Platforms and Test Failure Analysis Classifier. Test

Jun 23, 2022
Google KMS backed Solana key management CLI tool

solana-kms solana-kms is a Google KMS backed Solana token management CLI utility. The main purpose of the tool is to ensure that the private key is ne

Jan 13, 2022
There is a certain amount of work to be done before you can implement the features of your Go powered CLI app

go-project-template-cli There is a certain amount of work to be done before you can implement the features of your Go powered CLI app. A few of those

Jan 23, 2022
A terminal designed for anyone to use and designed for any platform

A terminal designed for anyone to use and designed for any platform. Which includes the basic features of any terminal and includes friendly commands to perform tools such as ping, traceroute, generate key pairs, encrypt/decrypt, router security actions, etc. All of the source code is done in Go.

Jan 25, 2022
Nebula Diagnosis CLI Tool is an information diagnosis cli tool for the nebula service and the node to which the service belongs.

Nebula Diagnosis CLI Tool is an information diagnosis cli tool for the nebula service and the node to which the service belongs.

Jan 12, 2022