Git Product home page Git Product logo

cli-timer's People

Contributors

giorgiberiashvili avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

cli-timer's Issues

Implement logging

Description

Right now, it is not possible to keep track of the timer usage outside of the terminal, and even then, it is temporary. It would not be so bad to implement logging for the program.


Objective

Make logging possible by following these steps:

  • create or update a file named "cli-timer.log" where all of the logging messages will be stored
  • come up with a human-readable log format
  • enable timestamp for the messages
  • specify which file is updating the "cli-timer.log"
  • specify the level of the log
  • keep it simple
  • enable or disable logging based on the execution option

Implement the functionality to store application's configuration

Description

It might be useful for the user to be able to control whether the application will use the default configuration or a custom one configured by the user.

Since the project already uses the dirs package (with success), it will leverage its functionality for the task as well.

The configuration file, alongside the log file, will be located in the user's configuration directory.
Here are the paths:

  • Linux: /home/{user}/.config
  • macOS: /Users/{user}/Library/Preferences
  • Windows: C:\Users\{user}\AppData\Roaming

Where the {user} will be the user's username.


Objective

The functionalities should probably include:

  • generating the default configuration the first time user runs the application
  • if the user wants to edit the configuration file through the application, he will pass a flag
  • just having sane options will suffice

Include more information in Cargo.toml

Description

Cargo.toml only includes base information generated by Cargo version 1.33.0, which does not depict the full metadata of the project.


Objective

Add the following fields to Cargo.toml:

  • description
  • documentation
  • homepage
  • repository
  • readme
  • keywords
  • categories
  • license

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.