CliConfig parameter for tauri::api::cli::get_matches #1956
Unanswered
earthnuker
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
the documentation seems to indicate that there is a
tauri::cli::get_matches()
function which return aCliMatches
struct, but the only function i could find in the code wastauri::api::cli::get_matches()
which needs a parameter of typeCliConfig
which i can get inside a command handler usingwindow.config().tauri.cli.as_ref()
. Is there a way to get parsed command line arguments inside ofmain()
using Tauri's functionality or do i need to call my own parser?Best regards:
Earthnuker
Beta Was this translation helpful? Give feedback.
All reactions