tauri/examples
chip 10314cd5cf
feat(core): add argument parsing on shell scope (#44)
* feat: initial implementation

* feat: arg parser

* refactor: move codegen to context struct

* feat: regex validation

* fix tests

* fix: support magic argument value `-`

* feat: support value regex starting with `-`

* refactor: shell_scope mod, add happy path tests

* wip: scope command arguments

* wip: commands

* add better scoped errors and pattern matching

* add documentation to scoped command items

* support using the new shell scope for open

* use the proper items in tauri::scope during codegen

* shell-open uses ScopeError::Validation also

* use shell scoping for sidecar commands

* fix: cli.rs build

* fix: validation when arg list is empty

* require args in a non-fixed, non-empty config list

Co-authored-by: Chip Reed <chip@chip.sh>
2022-01-26 16:43:24 -03:00
..
.icons fix: #617 Update macOS icons to Big Sur style (#2870) 2021-12-06 23:41:13 +01:00
api feat(core): add argument parsing on shell scope (#44) 2022-01-26 16:43:24 -03:00
commands Isolation Pattern (#43) 2022-01-17 10:46:14 -03:00
helloworld Isolation Pattern (#43) 2022-01-17 10:46:14 -03:00
isolation Isolation Pattern (#43) 2022-01-17 10:46:14 -03:00
multiwindow Isolation Pattern (#43) 2022-01-17 10:46:14 -03:00
navigation Isolation Pattern (#43) 2022-01-17 10:46:14 -03:00
resources Isolation Pattern (#43) 2022-01-17 10:46:14 -03:00
sidecar feat(core): add argument parsing on shell scope (#44) 2022-01-26 16:43:24 -03:00
splashscreen Isolation Pattern (#43) 2022-01-17 10:46:14 -03:00
state Isolation Pattern (#43) 2022-01-17 10:46:14 -03:00
streaming Isolation Pattern (#43) 2022-01-17 10:46:14 -03:00
tauri-dynamic-lib Added example for CPP Dll useage (#3157) 2022-01-07 12:37:31 -03:00
updater Isolation Pattern (#43) 2022-01-17 10:46:14 -03:00