Open pwintz opened 3 months ago
Working on this here: https://github.com/pwintz/ki/tree/issue_174_automatic_collection_location
Hey! It's not a bad idea 🙂
Unfortunately I can't merge it as-is, since as I mentioned in another issue, I'm explicitly not supporting Windows.
Ah, that's news to me! I've been using ki on Windows. What is the holdup for supporting Windows?
Also, the work I've done isn't ready to merge yet. I need to rework the command line interface a bit so that ki clone --profile=Paul
creates the desired result.
@pwintz Well I haven't got a Windows machine to test on anymore, and anyway it added a ton of complexity to the implementation. It needs to be rewritten anyway, I believe most of the logic is better expressed in a bash script or something.
Also, the work I've done isn't ready to merge yet. I need to rework the command line interface a bit so that ki clone --profile=Paul creates the desired result.
Interested in seeing how this turns out! 🙂
@pwintz Any luck?
Since we know where the Anki collection files are located on each OS, it would be great to have
ki clone
automatically locate the collection files and clone from a given profile name instead of needing users to locate the collection location.The command line interface I'm imagining is something like this: