cli icon indicating copy to clipboard operation
cli copied to clipboard

Plugin System

Open mrxiaozhuox opened this issue 1 year ago • 0 comments

  • [x] Plugin storage & work in user project folder
  • [x] deleted tools code
  • [x] auto-check plugin version conflict
  • [x] plugin install command (install from git repo)
  • [x] log info include plugin name (easier to track plugin log)
  • [x] add more useful plugin API
  • [x] pass Dioxus.toml config to plugin manager
  • [x] add dioxus plugin init command, cancel auto-init plugin system
  • [x] add upgrade command for core
  • [x] lua script fully supported async function & runtime

New plugin API

  • fs::move_file - move a file from one path to another path
  • fs::remove_file - remove a file
  • path::file_name - get path top-level directory & file name
  • dirs::crate_dir - get crate root dir
  • fs::read_dir - get dir content list
  • json::encode - encode json
  • json::decode - decode json

Plugin event

deleted serve.interval event deleted serve.on_rebuild event add serve.on_rebuild_start event add serve.on_rebuild_end event

mrxiaozhuox avatar Mar 26 '23 04:03 mrxiaozhuox