Command Surface Reference

Source: tests/helpers/manifest.ts — mirrors the runtime registration surface one-to-one; the surface tests guarantee no missing and no extra commands.

plugin:event (4 commands)

Command Permission owner (group) API module
plugin:event|listen event event
plugin:event|unlisten event event
plugin:event|emit event event
plugin:event|emit_to event event

plugin:app (13 commands)

Command Permission owner (group) API module
plugin:app|name app app
plugin:app|version app app
plugin:app|tauri_version app app
plugin:app|get_config app app
plugin:app|identifier app app
plugin:app|show app app
plugin:app|hide app app
plugin:app|set_dock_visibility app app
plugin:app|bundle_type app app
plugin:app|supports_multiple_windows app app
plugin:app|default_window_icon app app
plugin:app|fetch_data_store_identifiers app app
plugin:app|remove_data_store app app

plugin:webview (7 commands)

Command Permission owner (group) API module
plugin:webview|get_all_webviews webview webview-window
plugin:webview|capabilities webview webview-window
plugin:webview|create webview webview-window
plugin:webview|clear_all_browsing_data webview webview-window
plugin:webview|print webview webview-window
plugin:webview|set_background_color webview webview-window
plugin:webview|toggle_devtools webview webview-window

plugin:process (2 commands)

Command Permission owner (group) API module
plugin:process|exit process process
plugin:process|relaunch process process

plugin:window (85 commands)

Command Permission owner (group) API module
plugin:window|show window window
plugin:window|hide window window
plugin:window|close window window
plugin:window|prevent_close window window
plugin:window|destroy window window
plugin:window|minimize window window
plugin:window|unminimize window window
plugin:window|toggle_maximize window window
plugin:window|is_maximized window window
plugin:window|is_minimized window window
plugin:window|set_fullscreen window window
plugin:window|is_fullscreen window window
plugin:window|set_always_on_top window window
plugin:window|center window window
plugin:window|set_focus window window
plugin:window|set_visible window window
plugin:window|set_resizable window window
plugin:window|set_opacity window window
plugin:window|set_transparent window window
plugin:window|set_decorations window window
plugin:window|get_frame window window
plugin:window|get_position window window
plugin:window|inner_position window window
plugin:window|get_state window window
plugin:window|get_title window window
plugin:window|get_theme window window
plugin:window|get_scale_factor window window
plugin:window|set_ignore_cursor_events window window
plugin:window|set_cursor window window
plugin:window|set_zoom window window
plugin:window|set_shadow window window
plugin:window|set_enabled window window
plugin:window|set_position window window
plugin:window|set_bounds window window
plugin:window|set_size_constraints window window
plugin:window|set_min_size window window
plugin:window|set_max_size window window
plugin:window|set_minimizable window window
plugin:window|is_minimizable window window
plugin:window|set_maximizable window window
plugin:window|is_maximizable window window
plugin:window|set_closable window window
plugin:window|is_closable window window
plugin:window|is_decorated window window
plugin:window|is_focused window window
plugin:window|set_skip_taskbar window window
plugin:window|set_always_on_bottom window window
plugin:window|set_content_protected window window
plugin:window|request_user_attention window window
plugin:window|set_progress_bar window window
plugin:window|set_badge_count window window
plugin:window|set_badge_label window window
plugin:window|set_background_color window window
plugin:window|set_titlebar_style window window
plugin:window|maximize window window
plugin:window|unmaximize window window
plugin:window|is_enabled window window
plugin:window|inner_size window window
plugin:window|set_focusable window window
plugin:window|set_cursor_visible window window
plugin:window|cursor_position window window
plugin:window|set_cursor_position window window
plugin:window|set_theme window window
plugin:window|set_visible_on_all_workspaces window window
plugin:window|set_simple_fullscreen window window
plugin:window|get_all_windows window window
plugin:window|available_monitors window window
plugin:window|primary_monitor window window
plugin:window|current_monitor window window
plugin:window|monitor_from_point window window
plugin:window|set_traffic_light_position window window
plugin:window|start_dragging window window
plugin:window|start_resize_dragging window window
plugin:window|set_file_drop_enabled window window
plugin:window|set_cursor_grab window window
plugin:window|set_icon window window
plugin:window|set_overlay_icon window window
plugin:window|set_effects window window
plugin:window|clear_effects window window
plugin:window|set_title window window
plugin:window|set_size window window
plugin:window|activity_name window window
plugin:window|set_activity_name window window
plugin:window|scene_identifier window window
plugin:window|set_scene_identifier window window

plugin:tray (11 commands)

Command Permission owner (group) API module
plugin:tray|create tray tray
plugin:tray|set_title tray tray
plugin:tray|set_tooltip tray tray
plugin:tray|set_icon tray tray
plugin:tray|destroy tray tray
plugin:tray|set_menu tray tray
plugin:tray|set_visible tray tray
plugin:tray|set_icon_as_template tray tray
plugin:tray|get_by_id tray tray
plugin:tray|remove_by_id tray tray
plugin:tray|set_show_menu_on_left_click tray tray

plugin:resources (1 command)

Command Permission owner (group) API module
plugin:resources|close resources

plugin:menu (19 commands)

Command Permission owner (group) API module
plugin:menu|create menu menu
plugin:menu|set_as_app_menu menu menu
plugin:menu|set_item_enabled menu menu
plugin:menu|set_item_title menu menu
plugin:menu|set_item_checked menu menu
plugin:menu|set_item_accel menu menu
plugin:menu|popup menu menu
plugin:menu|add_item menu menu
plugin:menu|remove_item menu menu
plugin:menu|item_info menu menu
plugin:menu|destroy menu menu
plugin:menu|add_submenu menu menu
plugin:menu|remove_at menu menu
plugin:menu|items menu menu
plugin:menu|create_default menu menu
plugin:menu|set_as_window_menu menu menu
plugin:menu|set_as_windows_menu_for_nsapp menu menu
plugin:menu|set_as_help_menu_for_nsapp menu menu
plugin:menu|set_icon menu menu

plugin:dialog (5 commands)

Command Permission owner (group) API module
plugin:dialog|open dialog dialog
plugin:dialog|save dialog dialog
plugin:dialog|message dialog dialog
plugin:dialog|ask dialog dialog
plugin:dialog|confirm dialog dialog

plugin:clipboard (7 commands)

Command Permission owner (group) API module
plugin:clipboard|read_text clipboard clipboard
plugin:clipboard|write_text clipboard clipboard
plugin:clipboard|read_image clipboard clipboard
plugin:clipboard|write_image clipboard clipboard
plugin:clipboard|read_html clipboard clipboard
plugin:clipboard|write_html clipboard clipboard
plugin:clipboard|clear clipboard clipboard

plugin:notification (3 commands)

Command Permission owner (group) API module
plugin:notification|send notification notification
plugin:notification|is_permission_granted notification notification
plugin:notification|request_permission notification notification

plugin:global-shortcut (5 commands)

Command Permission owner (group) API module
plugin:global-shortcut|register global-shortcut global-shortcut
plugin:global-shortcut|unregister global-shortcut global-shortcut
plugin:global-shortcut|is_registered global-shortcut global-shortcut
plugin:global-shortcut|register_all global-shortcut global-shortcut
plugin:global-shortcut|unregister_all global-shortcut global-shortcut
Command Permission owner (group) API module
plugin:deep-link|get_last_url deep-link deep-link

plugin:image (5 commands)

Command Permission owner (group) API module
plugin:image|from_bytes image image
plugin:image|from_path image image
plugin:image|rgba image image
plugin:image|size image image
plugin:image|destroy image image

plugin:fs (23 commands)

Command Permission owner (group) API module
plugin:fs|read_text fs fs
plugin:fs|write_text fs fs
plugin:fs|read_file fs fs
plugin:fs|write_file fs fs
plugin:fs|read_dir fs fs
plugin:fs|exists fs fs
plugin:fs|remove fs fs
plugin:fs|make_dir fs fs
plugin:fs|copy fs fs
plugin:fs|rename fs fs
plugin:fs|stat fs fs
plugin:fs|watch fs fs
plugin:fs|unwatch fs fs
plugin:fs|open fs fs
plugin:fs|read fs fs
plugin:fs|seek fs fs
plugin:fs|write fs fs
plugin:fs|flush fs fs
plugin:fs|close fs fs
plugin:fs|truncate fs fs
plugin:fs|lstat fs fs
plugin:fs|read_link fs fs
plugin:fs|chmod fs fs

plugin:path (32 commands)

Command Permission owner (group) API module
plugin:path|join path path
plugin:path|resolve path path
plugin:path|normalize path path
plugin:path|is_absolute path path
plugin:path|basename path path
plugin:path|dirname path path
plugin:path|extname path path
plugin:path|sep path path
plugin:path|home_dir path path
plugin:path|temp_dir path path
plugin:path|cwd path path
plugin:path|app_data_dir path path
plugin:path|app_config_dir path path
plugin:path|app_cache_dir path path
plugin:path|app_local_data_dir path path
plugin:path|app_log_dir path path
plugin:path|baseline_dir path path
plugin:path|data_dir path path
plugin:path|config_dir path path
plugin:path|cache_dir path path
plugin:path|font_dir path path
plugin:path|desktop_dir path path
plugin:path|document_dir path path
plugin:path|download_dir path path
plugin:path|picture_dir path path
plugin:path|audio_dir path path
plugin:path|video_dir path path
plugin:path|public_dir path path
plugin:path|template_dir path path
plugin:path|runtime_dir path path
plugin:path|executable_dir path path
plugin:path|resource_dir path path

plugin:http (1 command)

Command Permission owner (group) API module
plugin:http|fetch http http

plugin:os (12 commands)

Command Permission owner (group) API module
plugin:os|info os os
plugin:os|platform os os
plugin:os|arch os os
plugin:os|hostname os os
plugin:os|version os os
plugin:os|homedir os os
plugin:os|tmpdir os os
plugin:os|sep os os
plugin:os|locale os os
plugin:os|type os os
plugin:os|family os os
plugin:os|eol os os

plugin:store (16 commands)

Command Permission owner (group) API module
plugin:store|get store store
plugin:store|set store store
plugin:store|has store store
plugin:store|delete store store
plugin:store|clear store store
plugin:store|keys store store
plugin:store|values store store
plugin:store|entries store store
plugin:store|save_store store store
plugin:store|load store store
plugin:store|save store store
plugin:store|save_to store store
plugin:store|reset store store
plugin:store|close store store
plugin:store|set_auto_save store store
plugin:store|on_change store store

plugin:localhost (3 commands)

Command Permission owner (group) API module
plugin:localhost|start localhost localhost
plugin:localhost|stop localhost localhost
plugin:localhost|status localhost localhost

plugin:stronghold (11 commands)

Command Permission owner (group) API module
plugin:stronghold|load stronghold stronghold
plugin:stronghold|get stronghold stronghold
plugin:stronghold|set stronghold stronghold
plugin:stronghold|has stronghold stronghold
plugin:stronghold|remove stronghold stronghold
plugin:stronghold|keys stronghold stronghold
plugin:stronghold|clear stronghold stronghold
plugin:stronghold|save stronghold stronghold
plugin:stronghold|save_to stronghold stronghold
plugin:stronghold|close stronghold stronghold
plugin:stronghold|reload stronghold stronghold

plugin:barcode-scanner (1 command)

Command Permission owner (group) API module
plugin:barcode-scanner|scan barcode-scanner barcode-scanner

plugin:biometric (2 commands)

Command Permission owner (group) API module
plugin:biometric|authenticate biometric biometric
plugin:biometric|status biometric biometric

plugin:geolocation (3 commands)

Command Permission owner (group) API module
plugin:geolocation|get_current_position geolocation geolocation
plugin:geolocation|watch_position geolocation geolocation
plugin:geolocation|clear_watch geolocation geolocation

plugin:haptics (3 commands)

Command Permission owner (group) API module
plugin:haptics|impact_occurred haptics haptics
plugin:haptics|notification_occurred haptics haptics
plugin:haptics|selection_changed haptics haptics

plugin:nfc (3 commands)

Command Permission owner (group) API module
plugin:nfc|scan nfc nfc
plugin:nfc|write nfc nfc
plugin:nfc|stop nfc nfc

plugin:log (8 commands)

Command Permission owner (group) API module
plugin:log|log log log
plugin:log|trace log log
plugin:log|debug log log
plugin:log|info log log
plugin:log|warn log log
plugin:log|error log log
plugin:log|__listener log log
plugin:log|__unlistener log log

plugin:shell (6 commands)

Command Permission owner (group) API module
plugin:shell|execute shell shell
plugin:shell|execute_stream shell shell
plugin:shell|spawn_stream shell shell
plugin:shell|write_stdin shell shell
plugin:shell|kill shell shell
plugin:shell|open shell shell

plugin:cli (2 commands)

Command Permission owner (group) API module
plugin:cli|get_argv cli cli
plugin:cli|get_matches cli cli

plugin:opener (3 commands)

Command Permission owner (group) API module
plugin:opener|open_url opener opener
plugin:opener|open_path opener opener
plugin:opener|reveal_item_in_dir opener opener

plugin:sql (4 commands)

Command Permission owner (group) API module
plugin:sql|load sql sql
plugin:sql|execute sql sql
plugin:sql|select sql sql
plugin:sql|close sql sql

plugin:autostart (3 commands)

Command Permission owner (group) API module
plugin:autostart|is_enabled autostart autostart
plugin:autostart|enable autostart autostart
plugin:autostart|disable autostart autostart

plugin:window-state (3 commands)

Command Permission owner (group) API module
plugin:window-state|get window-state window-state
plugin:window-state|save window-state window-state
plugin:window-state|restore window-state window-state

plugin:single-instance (1 command)

Command Permission owner (group) API module
plugin:single-instance|is_primary single-instance single-instance

plugin:websocket (3 commands)

Command Permission owner (group) API module
plugin:websocket|connect websocket websocket
plugin:websocket|send websocket websocket
plugin:websocket|disconnect websocket websocket

plugin:local-ip (1 command)

Command Permission owner (group) API module
plugin:local-ip|get local-ip local-ip

plugin:network (3 commands)

Command Permission owner (group) API module
plugin:network|get_local_ipv4 network network
plugin:network|get_local_ipv6 network network
plugin:network|get_public_ip network network

plugin:upload (1 command)

Command Permission owner (group) API module
plugin:upload|upload upload upload

plugin:persisted-scope (2 commands)

Command Permission owner (group) API module
plugin:persisted-scope|get persisted-scope persisted-scope
plugin:persisted-scope|save persisted-scope persisted-scope

plugin:updater (6 commands)

Command Permission owner (group) API module
plugin:updater|check updater updater
plugin:updater|verify updater updater
plugin:updater|download updater updater
plugin:updater|verify_signature updater updater
plugin:updater|install_stream updater updater
plugin:updater|install updater updater

适用版本:ztron 0.3.1