dioxus
dioxus copied to clipboard
Feat: CLI Settings
Creates a setting system with 3 priorities:
- CLI Flags (e.g. --open or --hot-reload)
- Project-level config (e.g. Settings in
Dioxus.toml) - Global settings stored in local data.
Additions
dx config set_globalcommand foralways-hot-reloadandalways-open-browser[cli_settings]key inDioxus.tomlwith fieldsalways_hot_reloadandalways_open_browser- Storage of global settings in a toml.
This PR is slightly breaking with changes to the CLI commands and the hot reload setting moved from [application] to [cli_settings].
Looks like the clippy issue is fixed in Autoformat rsx PR. This is ready for review.