Radish alpha
r
rad:z39mP9rQAaGmERfUMPULfPUi473tY
Radicle terminal user interface
Radicle
Git
Fix `rad.sh` proxy script
Merged did:key:z6MkswQE...2C1V opened 1 year ago
2 files changed +10 -1 bc2378e1 4af18a47
modified CHANGELOG.md
@@ -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
modified scripts/rad.sh
@@ -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 $@