Thanks to visit codestin.com
Credit goes to github.com

Skip to content

abailly/sensei

 
 

Repository files navigation

sensei

A personal information management and project tracking tool for developers and more. test

User Profile

User profile can be set using the command-line tool ep.

First create a JSON file containing the user's profile:

$ cat > profile.json
{
  "userStartOfDay": "08:00:00",
  "userProfileVersion": 4,
  "userEndOfDay": "18:30:00",
  "userName": "arnaud",
  "userTimezone": "+01:00",
  "userCommands": {
    "docker": "/usr/local/bin/docker",
    "dotnet": "/usr/local/share/dotnet/dotnet",
    "npm": "/usr/local/bin/npm",
    "az": "/usr/local/bin/az",
    "g": "/usr/bin/git",
    "stak": "/Users/arnaud/.local/bin/stack"
  },
  "userFlowTypes": {
    "Learning": "#ff8822",
    "Flowing": "#00dd22",
    "Troubleshooting": "#ee1111",
    "Rework": "#4500dd",
    "Meeting": "#fff203",
    "Experimenting": "#0022dd"
  }
}
^D

Then feed that data to the local server:

$  ep -U -c profile.json

The configuration is currently stored in a JSON file inside XDG configuration directory for sensei application.

$ cat ~/.config/sensei/config.json | jq .
{
  "userStartOfDay": "08:00:00",
  "userProfileVersion": 4,
  ...
}

This can also be retrieved from the command-line:

$  ep -U
{
  "userStartOfDay": "08:00:00",
  "userProfileVersion": 4,
  "userEndOfDay": "18:30:00",
  ...
}

Migration (prior to v 0.13.0)

Before v 0.13.0, the data were handle into a plain json formated text file. In order to retrieve your flows and notes, you have to put your .sensei.log into the shared directory:

cp ~/.sensei.log ~/.local/share/sensei/sensei.log

About

A sensei for improving one's development process

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Haskell 83.0%
  • JavaScript 9.9%
  • C 1.7%
  • Emacs Lisp 1.6%
  • CSS 1.3%
  • Shell 0.9%
  • Other 1.6%