AnkiLink
AnkiLink copied to clipboard
The command line params "--deck" is invalid
When I run the cmd with no params
>AnkiLink.exe test1.md
Warning: Config File config.toml doesn't exist!
Starting...
file: test1.md
Done.
All done.
It create an Deck in my anki. It's default name is "Export".
But when I run the cmd with " --deck targetDeck"
>AnkiLink.exe test1.md --deck targetDeck
Warning: Config File config.toml doesn't exist!
Starting...
file: test1.md
Done.
All done.
Nothing happened in my anki.
try AnkiLink.exe test1.md --deckname targetDeck
or AnkiLink.exe test1.md -d targetDeck
if no such deck exists in Anki, AnkiLink will try to create one.
AnkiLink.exe test1.md --deckname targetDeck
or AnkiLink.exe test1.md -d targetDeck
I have tried these two commands, but still no effect .
Today I read this document test7.md. I try do. It' ok.
## 法规
[config]
deck_name = "法规4"
法的纵向冲突
宪法→法律→行政法规→
1-地方性法规→地方政府规章
2-部门规章
| 法的形式 |制订机关 |名称规律 |
|--|--|--|
| 宪法| 全国人大| |
| 法律| 全国人大及常委会| 《XX 法》
| 行政法规| 国务院|**《XX 条例》** |
|地方法规 |省级、设区的市级人大及常委会|**《XX 条例》** |
| **部门规章** | 国务院各部委| 《XX **办法**》、《XX **规定**》、《XX **实施细则**》|
|**地方政府规章**| 省级、设区的市级政府 | 同上|
知识产权侵权赔偿数额,应根据:① 侵权人的非法获利;② 参照知识产权许可使用费的倍数;③ 权利人的实际损失;或④ 人民法院根据侵权行为性质和情节裁量确定。其正确适用的顺序应当是( )。(备注:无论适用哪一种,均应包括权利人为制止侵权行为发生的合理开支。)
A ①②③④
B ③①④②
C ②①③④
D ③①②④
【答案】D
run the cmd without --deckname targetDeck
>AnkiLink.exe test1.md
Warning: Config File config.toml doesn't exist!
Starting...
file: test1.md
Done.
All done.
It works fine. But occasionally it doesn't work properly. I do not know why. Seems to be related to the format. Only 2 notes were generated the first time.
Anyway, thank you very much!!!
This is a bit weird. On my computer, everything works just fine. I'll leave this issue open to see if anyone encounters the same problem.
我也遇到相同的问题,最后用pyinstaller自行打包解决