add obj type script
This commit is contained in:
parent
008466a872
commit
82fea68b67
1 changed files with 5 additions and 0 deletions
5
scripts/show_obj_type.sh
Executable file
5
scripts/show_obj_type.sh
Executable file
|
@ -0,0 +1,5 @@
|
|||
#!/bin/bash
|
||||
|
||||
OBJ=$(cat schema.json|jq -r ".properties.obj.enum[]"|gum choose)
|
||||
|
||||
mdq -c file.title:Title -c file.path:Path -f "{\"obj\": { \"\$regex\": \"^$OBJ\"}}" .
|
Loading…
Add table
Reference in a new issue