joker

Discuss all things joker, the Clojure interpreter/linter on top of Go. https://github.com/candid82/joker
2019-10-02T06:27:49.014600Z

Any way to copy a file with Joker? I'm not seeing it in the reference

2019-10-02T06:28:21.015300Z

I know I can use sh, but I'm on windows, and there is no copy or move program on windows to use with sh

2019-10-02T06:28:39.015800Z

copy is a command prompt special command, not an actual program you can make use of

2019-10-02T06:42:30.016Z

Found it

2019-10-02T06:42:49.016400Z

(os/sh "cmd" "/c" "COPY" file to-dir)

👍 2
Candid 2019-10-04T05:34:42.020300Z

@didibus I've added <http://joker.io/copy|joker.io/copy> function that allows for something like (<http://joker.io/copy|joker.io/copy> (joker.os/create "dst") (joker.os/open "src")) See https://github.com/candid82/joker/commit/bb5b1dc4896f9f8319139cd9653c416b09b0de4a