Open
Description
This is connected with discussion in https://github.com/azerupi/mdBook/issues/313
I currently find 3 problems in this area:
- I guess that book
init
should create book.toml filled with defaults (possibly from gitconfiig) and updated with info from flags such as--theme
- Currently options such as
mdbook init --theme
do nothing if book.toml is not present.
Namely the bookinit
tries to read the book.toml and does not find it, thencopy_theme
starts and has nothing to do as thethemedir
is not set. This will be confusing to the user. -
--theme
option always triggers confirmation prompt (unless--force
)? There seams to be no reason to prompt if the targettheme
directory does not exists yet.