blangel / wrk Goto Github PK
View Code? Open in Web Editor NEWA command line interface to Trello
A command line interface to Trello
I'm getting this (note key + token obfuscated):
Note the URL works in a browser. Running from MacosX
[err!] Message: Server returned HTTP response code: 401 for URL: https://trello.com/1/members/my/cards?filter=open&key=8d56bbd601877abfd13153a999a840d0&token=831b4928f4xxxd5d1fd9d5dd1723fd00
[err!] java.io.IOException: Server returned HTTP response code: 401 for URL: https://trello.com/1/members/my/cards?filter=open&key=8d56bbd601877abfd13153a999a840d0&token=831b4928f4xxxd5d1fd9d5dd1723fd00
It would seem that the API allows you to pull cards from closed boards… that doesn't seem too handy.
I'm trying to get wrk
into homebrew and the maintainers need a “stable download”, meaning one, where there's a version number in the file name.
Would you mind changing that? Also, a tar.gz
would be preferable.
PR is here: https://github.com/mxcl/homebrew/pull/13195/files
Currently, my openjdk 1.6.0 64bits JVM isn't supported by wrk, which is surprising :)
I can test if needed.
Hi,
Using wrk version 1.0.1, there appears to be four leading spaces printed in front of a card description when using wrk desc
Since these spaces are not actually in the card description it's frustrating to have them included when running e.g. wrk desc
- see the 'last name' example below:
HOSTNAME:~ kenny$ wrk desc c:134561234132412341
Description of card 134561234132412341:
card-title | 134561234132412341
first name: 'forename'
last name: 'surname'
institution: 'some-institution'
email: '[email protected]'
https://trello.com/c/aFaFaFaF/card-title-here
I wonder if it's the following lines:
i.e. git grep for "four spaces, then a %s":
HOSTNAME:wrk kenny$ git grep -i " %s" *
src/main/java/net/ocheyedan/wrk/cmd/trello/Desc.java: Output.print(" %s", desc);
src/main/java/net/ocheyedan/wrk/cmd/trello/Desc.java: Output.print(" %s", desc);
src/main/java/net/ocheyedan/wrk/cmd/trello/Desc.java: Output.print(" %s", desc);
These colors are not available to wrk at the moment.
It seems like there would be some cool things you could do just by executing search queries from the command line, e.g.
wrk search @me
wrk search @me is:open
wrk search @me #bug
etc
You can use URLs like
https://api.trello.com/1/search?key=...&token=...&idBoards=mine&idOrganizations=mine&query=@me
to run the searches (the search API is documented at https://trello.com/docs/api/search/index.html)
I have created a docker image that gives you a ready to run wrk Docker container.
You can't see the wrk id, nor the link to the trello card.
Instead of using the default Key: 8d56bbd601877abfd13150a999a840d0
Freshly installed OpenJDK 11 and wrk-trello
via Homebrew:
computer:~ user$ brew info wrk-trello
wrk-trello: stable 1.0.1
Command-line interface to Trello
https://github.com/blangel/wrk
Conflicts with:
wrk (because both install `wrk` binaries)
/usr/local/Cellar/wrk-trello/1.0.1 (8 files, 1MB) *
Built from source on 2018-12-19 at 10:44:48
From: https://github.com/Homebrew/homebrew-core/blob/master/Formula/wrk-trello.rb
computer:~ user$ java -version
openjdk version "11.0.1" 2018-10-16
OpenJDK Runtime Environment 18.9 (build 11.0.1+13)
OpenJDK 64-Bit Server VM 18.9 (build 11.0.1+13, mixed mode)
Trying to start wrk
leads to:
computer:~ user$ wrk
Exception in thread "main" java.lang.NoClassDefFoundError: java/sql/Date
at org.codehaus.jackson.map.deser.std.StdDeserializer$SqlDateDeserializer.<init>(StdDeserializer.java:1079)
at org.codehaus.jackson.map.deser.StdDeserializers.<init>(StdDeserializers.java:76)
at org.codehaus.jackson.map.deser.StdDeserializers.constructAll(StdDeserializers.java:103)
at org.codehaus.jackson.map.deser.BasicDeserializerFactory.<clinit>(BasicDeserializerFactory.java:46)
at org.codehaus.jackson.map.deser.StdDeserializerProvider.<init>(StdDeserializerProvider.java:81)
at org.codehaus.jackson.map.ObjectMapper.<init>(ObjectMapper.java:398)
at org.codehaus.jackson.map.ObjectMapper.<init>(ObjectMapper.java:358)
at org.codehaus.jackson.map.ObjectMapper.<init>(ObjectMapper.java:328)
at net.ocheyedan.wrk.Json.<clinit>(Json.java:13)
at net.ocheyedan.wrk.Config.init(Config.java:79)
at net.ocheyedan.wrk.Wrk.main(Wrk.java:18)
Does wrk
handle the oauth process required by Trello?
Josephs-MacBook-Pro:Formula joe$ curl -IL "https://cloud.github.com/downloads/blangel/wrk/wrk-1.0.1.tar.gz"
curl: (6) Could not resolve host: cloud.github.com
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.