Comments (6)
It would be great if the option could be written into the config and stored.
from utt.
I missed that parameter too! Since every book abut UX will tell you: "It's never end-user's fault", maybe there should be something done in regard to exposing that option a bit more? --data and DATA_FILENAME are not very suggestive at first and on every computer there's a lot of data, so I suppose our brains can intuitively skip that phrase. Maybe --logpath or something like this would work?
Or if @larose really finds it a useful feature that more people should know about, maybe make it work a bit like vim?
If you do utt hello
it defaults to a path it always does but if you do utt hello path/to/log.txt
, it automatically creates log in the desired path?
from utt.
Hi @mistery and @ErykPiasecki07!
It would be great if the option could be written into the config and stored.
Yes, this can be an option. You are welcome to contribute this change, but don't forget to add tests.
I missed that parameter too! Since every book abut UX will tell you: "It's never end-user's fault", maybe there should be something done in regard to exposing that option a bit more? --data and DATA_FILENAME are not very suggestive at first and on every computer there's a lot of data, so I suppose our brains can intuitively skip that phrase. Maybe --logpath or something like this would work?
I agree with you that --data
is probably not the best name. But log usually means the place where we store events that happen during the execution of a program for debugging and troubleshooting. So I think --logpath
would also be confusing. Maybe the solution is to simply document what --data
means when running utt --help
(which has currently no documentation):
$ utt --help
usage: utt [-h] [--data DATA_FILENAME] [--now NOW] [--timezone TIMEZONE] [--version] {add,config,edit,hello,report,stretch} ...
Ultimate Time Tracker (utt) is a simple command-line time tracking application written in Python.
positional arguments:
{add,config,edit,hello,report,stretch}
optional arguments:
-h, --help show this help message and exit
--data DATA_FILENAME
--now NOW
--timezone TIMEZONE
--version show program's version number and exit
Or if @larose really finds it a useful feature that more people should know about, maybe make it work a bit like vim? If you do
utt hello
it defaults to a path it always does but if you doutt hello path/to/log.txt
, it automatically creates log in the desired path?
I'm not sure why we would need this when we can already do it with utt --data path/to/log.txt hello
.
from utt.
OK, I notice the parameter in the command-line output and the help.
I must've been blind.
from utt.
Yeah, sometimes the simplest solutions are the best ones, so documenting it is absolutely the way to go. Thanks for your opinion on this matter!
from utt.
I'm closing this, but anyone is welcome to submit a PR to update the documentation.
from utt.
Related Issues (20)
- Feature request: "per_task" type of CSV report HOT 3
- Working with utf8 coding to represent german characters. HOT 3
- Add a flag to display 'Details' section when running `report --from<> --to<>` HOT 1
- Git-based version of utt HOT 3
- OSError: [Errno 22] Invalid argument (When deleting content of report-file) HOT 1
- Report for "one month" HOT 1
- Some individual integration tests fail
- Feature request : report a date HOT 6
- Multi-tagging of activities HOT 5
- Problem when using incorrect python version HOT 3
- Python version requirements HOT 4
- Export working times in excel sheet HOT 2
- Allow spaces in project names? HOT 2
- Relax pytz requirement? HOT 10
- end day HOT 3
- Show total time HOT 2
- stretch --merge option HOT 2
- Why doesn't the Activity Report account for time spent in tasks started in the previous day? HOT 3
- Uncaught exception when date in wrong format HOT 1
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 utt.