CLI
Similar to how arguments can be passed to python functions e.g. python -m run_me
, extra arguments can also be added to PyTauri executables. Arguments can be added through the following manner:
shell
pnpm tauri dev -- -- --password secret
The first two double dashes are required as these are for arguments passed to pnpm and cargo respectively. The passed arguments can be accessed in Python with sys.argv.