maelvls / clockidup Goto Github PK
View Code? Open in Web Editor NEW⏱ A CLI for generating a Jetstack standup entry using your Clockify time entries
Home Page: https://maelvls.dev/clockidup
⏱ A CLI for generating a Jetstack standup entry using your Clockify time entries
Home Page: https://maelvls.dev/clockidup
I use different workspaces to separate personal/work projects etc.
It would be great if I could use / switch workspaces in which I use, via config file or via command line.
Currently looking at:
Lines 237 to 248 in 058ae20
It uses the first workspace provided from the API?
I think the login process flow may be slightly broken:
info: the API token is available at https://clockify.me/user/settings
debug: curl -v -X GET --header 'X-Api-Key: ' --header 'host: api.clockify.me' https://api.clockify.me/api/v1/workspaces
? Clockify API token [REDACTED]
debug: token: [REDACTED]
debug: curl -v -X GET --header 'X-Api-Key: [REDACTED]' --header 'host: api.clockify.me' https://api.clockify.me/api/v1/workspaces
debug: curl -v -X GET --header 'X-Api-Key: ' --header 'host: api.clockify.me' https://api.clockify.me/api/v1/workspaces
error: login failed: token seems to be invalid
It looks as though, the configfile is either not written or not re-read in on the second api call?
If I create the file manually: ${HOME}/.config/standup.yaml
all is well and things start working as expected.
Would it be of interest to add, adding of projects from within the CLI also? or do you think this would exceed the scope of this tool?
Something like:
clockidup project add XXXXXXXX
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.