Giter Site home page Giter Site logo

golog's People

Contributors

komosa avatar mlimaloureiro avatar tlfbrito avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

golog's Issues

Add golog switch

golog switch task should:

  • stop current task if any
  • start a new task

It should error if there is more than one started task
It should not error if more no task is started

Improve autocomplete

autocomplete for stop should not print stopped tasks
autocomplete for start should not print started tasks

Stop is misleading

Is it just me or is stop misleading?
Would it be better to have a pause/stop option, where pause "pauses" the timer and stop remove the timer and prints out the value?

Incorrect task duration

The golog list command shows incorrect task durations for tasks which its duration exceeds 24 hours.

~/.golog:

breakfast,start,2019-01-11T14:47:56Z
breakfast,stop,2019-01-20T17:08:47Z

>  golog list
2h:20m:51s    breakfast 

Update imports

Doesn't compile on go1.16 need to change github.com/codegangsta/cli to github.com/urfave/cli

➜  ~ go get github.com/mlimaloureiro/golog
go: downloading github.com/mlimaloureiro/golog v0.0.0-20160703122449-fcc04962f875
go: downloading github.com/mitchellh/go-homedir v1.1.0
go: downloading github.com/codegangsta/cli v1.22.5
go get: github.com/codegangsta/cli@none updating to
	github.com/codegangsta/[email protected]: parsing go.mod:
	module declares its path as: github.com/urfave/cli
	        but was required as: github.com/codegangsta/cli
➜  ~ go version
go version go1.16.3 darwin/amd64

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.