XR for Universal Blue and Fedora Atomic Desktops
vr fedora-atomic linux
3
fork

Configure Feed

Select the types of activity you want to include in your feed.

fix: use --wrapped for wrapper function

Closes #12

Signed-off-by: MatrixFurry <did:plc:zmjoeu3stwcn44647rhxa44o>

+4 -3
+1 -1
src/atomic-xr/_debug.nu
··· 98 98 } 99 99 100 100 if $base64 { 101 - log info $"If you'd like to check what info that contains, use `axr '_debug decode --base64 {base64}'`" 101 + log info $"If you'd like to check what info that contains, use `axr _debug decode --base64 {base64}`" 102 102 } else { 103 103 log info $"If you'd like to check what info it contains, use `axr _debug decode ($output)`" 104 104 }
+3 -2
src/axr.nu.in
··· 5 5 use std log 6 6 /@AXR_LIB@/ 7 7 8 - def main [ 8 + def main --wrapped [ 9 9 # TODO: --choose (-c) # Interactively choose a function 10 + --help (-h) 10 11 --list (-l) # List avaliable commands 11 12 --interactive (-i) # Enter interactive shell with the module loaded 12 13 ...function ··· 14 15 let function = $function | str join ' ' 15 16 if $interactive { 16 17 exec nu -e "/@AXR_LIB@/; print $'(ansi yellow)AtomicXR module loaded.(ansi reset)'" 17 - } else if $list or ($function | is-empty) { 18 + } else if $help or $list or ($function | is-empty) { 18 19 print-functions 19 20 } else { 20 21 # Make sure the function is valid to avoid unhelpful error messages