easychen / book-by-ai

Generate high-quality books with AI
MIT License
228 stars 36 forks source link

[new feat]增加断点重跑功能 #8

Closed cocomany closed 1 year ago

cocomany commented 1 year ago

运行过程中难免会由于网络,字符长度等问题产生中断,希望能增加断点断续重跑能力,这样能更高效的完成写作。

cocomany commented 1 year ago

哦,正常的执行顺序是以下这样的,所以要断点跑的话,就单独执行命令,跑那一步了哈。

node bba.js book@help // Show help node bba.js book@title // Generate title node bba.js book@index // Generate table of contents (chapters) node bba.js book@sections // Generate table of contents (sections) node bba.js book@write // Write section content node bba.js book@make // Generate mdbook project node bba.js book@addImage // Generate cover and section images node bba.js book@update // Rewrite a section node bba.js book@translate // Translate sections