answer · streaming Markdown on intuiTUIve
Screenshots
Moving the config Three steps, in order: 1 Read the old file from ~/.app.toml. Keep its comments: the new reader keeps them too. 3 of 7 fragments · Space for the next
Moving the config Three steps, in order: 1 Read the old file from ~/.app.toml. Keep its comments: the new reader keeps them too. 2 Write it to the new place. 3 Remove the old one, once the app has started with the new. The new place is in [the config guide][guide]. In code: let old = read("~/.app.toml")?; 5 of 7 fragments · Space for the next
Moving the config Three steps, in order: 1 Read the old file from ~/.app.toml. Keep its comments: the new reader keeps them too. 2 Write it to the new place. 3 Remove the old one, once the app has started with the new. The new place is in the config guide. In code: let old = read("~/.app.toml")?; write(config_dir().join("app.toml"), old)?; That is all. done · Tab to the links, Enter to follow one
Moving the config Three steps, in order: 1 Read the old file from ~/.app.toml. Keep its comments: the new reader keeps them too. 2 Write it to the new place. 3 Remove the old one, once the app has started with the new. The new place is in the config guide. In code: let old = read("~/.app.toml")?; write(config_dir().join("app.toml"), old)?; That is all. link: https://docs.example/config