mirror of
https://seed.radicle.dev/rad:z39mP9rQAaGmERfUMPULfPUi473tY.git
synced 2026-11-29 06:20:28 +08:00
Fix rad proxy script
This commit is contained in:
@@ -38,6 +38,10 @@
|
||||
- Page size attribute from scrollable widgets
|
||||
- Cutoff and footer attributes from table properties
|
||||
|
||||
### Fixed
|
||||
|
||||
- Broken positional argument passing in `rad.sh` proxy script
|
||||
|
||||
## [0.3.1] - 2024-06-11
|
||||
|
||||
### Added
|
||||
|
||||
+6
-1
@@ -26,6 +26,9 @@ if [[ "$1" == "patch" ]] || [[ "$1" == "issue" ]] || [[ "$1" == "inbox" ]]; then
|
||||
op=$(extract_operation $out)
|
||||
id=$(extract_id $out)
|
||||
|
||||
echo $op
|
||||
echo $id
|
||||
|
||||
rad $1 $op $id
|
||||
else
|
||||
# Run TUI
|
||||
@@ -33,7 +36,9 @@ if [[ "$1" == "patch" ]] || [[ "$1" == "issue" ]] || [[ "$1" == "inbox" ]]; then
|
||||
{ out=$(rad-tui $1 select $args 2>&1 >&3 3>&-); } 3>&1
|
||||
id=$(extract_id $out)
|
||||
|
||||
rad $1 $2 $id
|
||||
args=("$@")
|
||||
|
||||
rad $1 $2 $id ${args[@]:2}
|
||||
fi
|
||||
else
|
||||
rad $@
|
||||
|
||||
Reference in New Issue
Block a user