a work time management CLI tool for any platform

Related tags

jobgosh
Overview

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
Issues
Owner
奥田 龍馬
奥田 龍馬
Handy little CLI for interacting with OCI data

oci-tool Handy little CLI for interacting with OCI data Installation go get github.com/csweichel/oci-tool I use Gitpod for developing this tool; you s

Christian Weichel 7 Aug 22, 2021
Make Highly Customized Boxes for your CLI

Box CLI Maker ?? Box CLI Maker is a Highly Customized Terminal Box Creator. Features Make Terminal Box in 8️⃣ inbuilt different styles 16 Inbuilt Colo

Swastik Baranwal 144 Sep 8, 2021
A command-line tool for Stripe

Stripe CLI The Stripe CLI helps you build, test, and manage your Stripe integration right from the terminal. With the CLI, you can: Securely test webh

Stripe 1.1k Sep 5, 2021
cross platform command line tool to list, notify and book vaccine using cowin API

Command line tool to List and Book Vaccine cowin-cli is a simple cli tool to book vaccines and list centers using the COWIN API. It also supports auto

Anoop S 36 Aug 11, 2021
Another CLI framework for Go. It works on my machine.

Command line interface framework Go framework for rapid command line application development

Ulrich Kautz 108 May 24, 2021
a lightweight and simple cli package

▄████████ ▄█ ▄█ ███ ███ ███ ███ ███ █▀ ███ ███▌ ███ ███ ███▌ ███ ███ ███▌ ███ █▄ ███

seo.do 12 Aug 17, 2021
GitHub’s official command line tool

GitHub CLI gh is GitHub on the command line. It brings pull requests, issues, and other GitHub concepts to the terminal next to where you are already

GitHub CLI 25.3k Sep 10, 2021
Arduino command line tool

arduino-cli Arduino CLI is an all-in-one solution that provides builder, Boards/Library Manager, uploader, discovery and many other tools needed to us

Arduino 3k Sep 12, 2021
Kong is a command-line parser for Go

Kong is a command-line parser for Go Introduction Help Help as a user of a Kong application Defining help in Kong Command handling Switch on the comma

Alec Thomas 654 Sep 15, 2021
FireFly Command Line Interface (CLI)

FireFly CLI The FireFly CLI can be used to create a local FireFly stacks for offline development of blockchain apps. This allows developers to rapidly

Kaleido 0 Aug 3, 2021
🔥 [WIP] Interactive Jira Command Line

JiraCLI Interactive Jira CLI ?? This project is still a work in progress ?? This tool mostly focuses on issue search and navigation at the moment. How

Ankit Pokhrel 110 Sep 4, 2021
A command-line tool and library for generating regular expressions from user-provided test cases

Table of Contents What does this tool do? Do I still need to learn to write regexes then? Current features How to install? 4.1 The command-line tool 4

Peter M. Stahl 4.3k Sep 15, 2021
a work time management CLI tool for any platform

english |日本語 jobgosh | job management tool made with golang for shell a multi-platform work time management CLI tool to track and improve your day to

奥田 龍馬 9 Jun 30, 2021
A simple, fast, and fun package for building command line apps in Go

cli cli is a simple, fast, and fun package for building command line apps in Go. The goal is to enable developers to write fast and distributable comm

null 16.5k Sep 9, 2021
Simple and complete API for building command line applications in Go

Simple and complete API for building command line applications in Go Module cli provides a simple, fast and complete API for building command line app

teris.io 89 Jul 15, 2021
💻 PTerm | Pretty Terminal Printer A golang module to print pretty text

✨ PTerm is a modern go module to beautify console output. Featuring charts, progressbars, tables, trees, and many more ?? It's completely configurable and 100% cross-platform compatible.

null 1.8k Sep 11, 2021
Building powerful interactive prompts in Go, inspired by python-prompt-toolkit.

go-prompt A library for building powerful interactive prompts inspired by python-prompt-toolkit, making it easier to build cross-platform command line

Masashi Shibata 4.1k Sep 8, 2021
Pi-hole data right from your terminal. Live updating view, query history extraction and more!

Pi-CLI Pi-CLI is a command line program used to view data from a Pi-Hole instance directly in your terminal.

Reece Mercer 37 Jul 18, 2021
git-xargs is a command-line tool (CLI) for making updates across multiple Github repositories with a single command.

Table of contents Introduction Reference Contributing Introduction Overview git-xargs is a command-line tool (CLI) for making updates across multiple

Gruntwork 474 Sep 13, 2021