Comments (7)
Hi @dominikbraun, I would like to work on this issue.
from timetrace.
@Eddie023 Your approach is fine, but you don't even need to introduce a new userConfig
file because there already is support for config.yaml
:
Lines 16 to 48 in 2ba16af
Shouldn't we give them the list of possible configurable keys? Something like timetrace config list which will return all the configurable keys and the current value. Let me know what you think. I am confused what are the configurable things currently available.
Yes. I think that this could even be done using timetrace config get
without an argument. You could simply display all fields of config.Config
to do so. BTW, you can get the already parsed configuration using the Timetrace.Config()
function.
from timetrace.
@dominikbraun Sorry got caught up with work so working only on the weekends. I will send you draft PR by this weekend and you can decide what to do.
from timetrace.
No problem, thanks for the update! 👍
from timetrace.
@dominikbraun Few questions regarding this issue. Here is my approach of solving this issue. let me know what you think.
- Create a
userConfig
file inconfig/
dir and upon eachtimetrace config set <KEY> <VALUE>
command upsert the KEY VALUE. - If the
userConfig
file is available then add some functionality like merge-deep-left to override withuserConfig
list.
Question:
- Shouldn't we give them the list of possible configurable keys? Something like
timetrace config list
which will return all the configurable keys and the current value. Let me know what you think. I am confused what are the configurable things currently available.
from timetrace.
Hi @Eddie023! Any updates on this one? If you don't have the capacities to do this issue at the moment, just let me know.
from timetrace.
@dominikbraun Sorry that I wasn't able to do this issue this weekend as well. Had some personal work pulling me. I don't want to extend this issue any longer so I will just unassign myself. Again, sorry for not getting this issue through.
from timetrace.
Related Issues (20)
- Feature Request: Decimal time HOT 1
- Idea: what's the proper way to input time duration when we add records? HOT 1
- Midnight rollover
- Check record collisions when editing a record HOT 3
- Limit tags for `timetrace start`
- Remove exclamation mark (`!`) from error messages HOT 1
- Make help for `timetrace create record` sensitive for `use12hours` HOT 1
- Migrate from CircleCI to Github Actions HOT 3
- Runtime Error when using timetrace start HOT 3
- Tags don't show up in `timetrace report`
- Check record collisions when editing a record HOT 5
- Update brew formula HOT 1
- Feature Request: Add description field in records
- [feature request] list records by specified range HOT 2
- bad CPU type in executable (Apple M2 Max) HOT 1
- Time recording stops at midnight
- Please bump golang.org/x/sys dependency HOT 1
- Should ignore extraneous files in the `.timetrace` directory
- Idea: Implement a feature to flag records as "billed" with an automatic marking function during report creation
- BUG: failed to edit project: fork/exec /usr/bin/nano: no such file or directory
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from timetrace.