tauri/core
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
..
tauri feat(core): add argument parsing on shell scope (#44) 2022-01-26 16:43:24 -03:00
tauri-build Isolation Pattern (#43) 2022-01-17 10:46:14 -03:00
tauri-codegen feat(core): add argument parsing on shell scope (#44) 2022-01-26 16:43:24 -03:00
tauri-macros feat(core): add argument parsing on shell scope (#44) 2022-01-26 16:43:24 -03:00
tauri-runtime Isolation Pattern (#43) 2022-01-17 10:46:14 -03:00
tauri-runtime-wry feat(core): add argument parsing on shell scope (#44) 2022-01-26 16:43:24 -03:00
tauri-utils feat(core): add argument parsing on shell scope (#44) 2022-01-26 16:43:24 -03:00