Radish alpha
h
Radicle Heartwood Protocol & Stack
Radicle
Git (anonymous pull)
Log in to clone via SSH
Add bash completion for CLI
✗ CI failure Florian Brandes committed 1 year ago
commit dca5aea1318ab511082a52d8853040cb412b218f
parent 484cf0220cca07cea1863d0e20d44827683da901
1 failed (1 total) View logs
2 files changed +703 -0
added completely.bash
@@ -0,0 +1,299 @@
+
# rad completion                                           -*- shell-script -*-
+

+
# This bash completions script was generated by
+
# completely (https://github.com/dannyben/completely)
+
# Modifying it manually is not recommended
+

+
_rad_completions_filter() {
+
  local words="$1"
+
  local cur=${COMP_WORDS[COMP_CWORD]}
+
  local result=()
+

+
  if [[ "${cur:0:1}" == "-" ]]; then
+
    echo "$words"
+
  
+
  else
+
    for word in $words; do
+
      [[ "${word:0:1}" != "-" ]] && result+=("$word")
+
    done
+

+
    echo "${result[*]}"
+

+
  fi
+
}
+

+
_rad_completions() {
+
  local cur=${COMP_WORDS[COMP_CWORD]}
+
  local compwords=("${COMP_WORDS[@]:1:$COMP_CWORD-1}")
+
  local compline="${compwords[*]}"
+

+
  case "$compline" in
+
    'id update'*'--visibility')
+
      while read -r; do COMPREPLY+=( "$REPLY" ); done < <( compgen -W "$(_rad_completions_filter "private public")" -- "$cur" )
+
      ;;
+

+
    'inbox'*'--sort-by')
+
      while read -r; do COMPREPLY+=( "$REPLY" ); done < <( compgen -W "$(_rad_completions_filter "id timestamp")" -- "$cur" )
+
      ;;
+

+
    'patch checkout'*)
+
      while read -r; do COMPREPLY+=( "$REPLY" ); done < <( compgen -W "$(_rad_completions_filter "$(rad patch list | awk 'NR>3 { print $3}' | head -n -1) --revision --name --force -f")" -- "$cur" )
+
      ;;
+

+
    'sync'*'--sort-by')
+
      while read -r; do COMPREPLY+=( "$REPLY" ); done < <( compgen -W "$(_rad_completions_filter "nid alias status")" -- "$cur" )
+
      ;;
+

+
    'clone'*'--scope')
+
      while read -r; do COMPREPLY+=( "$REPLY" ); done < <( compgen -W "$(_rad_completions_filter "followed all")" -- "$cur" )
+
      ;;
+

+
    'issue comment'*)
+
      while read -r; do COMPREPLY+=( "$REPLY" ); done < <( compgen -W "$(_rad_completions_filter "$(rad issue list | awk 'NR>3 { print $3}' | head -n -1) --message --reply-to")" -- "$cur" )
+
      ;;
+

+
    'patch archive'*)
+
      while read -r; do COMPREPLY+=( "$REPLY" ); done < <( compgen -W "$(_rad_completions_filter "$(rad patch list | awk 'NR>3 { print $3}' | head -n -1) --undo")" -- "$cur" )
+
      ;;
+

+
    'patch comment'*)
+
      while read -r; do COMPREPLY+=( "$REPLY" ); done < <( compgen -W "$(_rad_completions_filter "$(rad patch list | awk 'NR>3 { print $3}' | head -n -1) --message -m --reply-to")" -- "$cur" )
+
      ;;
+

+
    'init'*'--scope')
+
      while read -r; do COMPREPLY+=( "$REPLY" ); done < <( compgen -W "$(_rad_completions_filter "followed all")" -- "$cur" )
+
      ;;
+

+
    'issue delete'*)
+
      while read -r; do COMPREPLY+=( "$REPLY" ); done < <( compgen -W "$(_rad_completions_filter "$(rad issue list | awk 'NR>3 { print $3}' | head -n -1)")" -- "$cur" )
+
      ;;
+

+
    'issue assign'*)
+
      while read -r; do COMPREPLY+=( "$REPLY" ); done < <( compgen -W "$(_rad_completions_filter "$(rad issue list | awk 'NR>3 { print $3}' | head -n -1) --add --delete")" -- "$cur" )
+
      ;;
+

+
    'node routing'*)
+
      while read -r; do COMPREPLY+=( "$REPLY" ); done < <( compgen -W "$(_rad_completions_filter "--rid --nid --json")" -- "$cur" )
+
      ;;
+

+
    'patch update'*)
+
      while read -r; do COMPREPLY+=( "$REPLY" ); done < <( compgen -W "$(_rad_completions_filter "$(rad patch list | awk 'NR>3 { print $3}' | head -n -1) --message -m --no-message")" -- "$cur" )
+
      ;;
+

+
    'patch delete'*)
+
      while read -r; do COMPREPLY+=( "$REPLY" ); done < <( compgen -W "$(_rad_completions_filter "$(rad patch list | awk 'NR>3 { print $3}' | head -n -1)")" -- "$cur" )
+
      ;;
+

+
    'patch redact'*)
+
      while read -r; do COMPREPLY+=( "$REPLY" ); done < <( compgen -W "$(_rad_completions_filter "$(rad patch list | awk 'NR>3 { print $3}' | head -n -1)")" -- "$cur" )
+
      ;;
+

+
    'seed'*'--scope')
+
      while read -r; do COMPREPLY+=( "$REPLY" ); done < <( compgen -W "$(_rad_completions_filter "followed all")" -- "$cur" )
+
      ;;
+

+
    'issue react'*)
+
      while read -r; do COMPREPLY+=( "$REPLY" ); done < <( compgen -W "$(_rad_completions_filter "$(rad issue list | awk 'NR>3 { print $3}' | head -n -1) --emoji --to")" -- "$cur" )
+
      ;;
+

+
    'issue label'*)
+
      while read -r; do COMPREPLY+=( "$REPLY" ); done < <( compgen -W "$(_rad_completions_filter "$(rad issue list | awk 'NR>3 { print $3}' | head -n -1) --add --delete")" -- "$cur" )
+
      ;;
+

+
    'issue state'*)
+
      while read -r; do COMPREPLY+=( "$REPLY" ); done < <( compgen -W "$(_rad_completions_filter "$(rad issue list | awk 'NR>3 { print $3}' | head -n -1) --closed --open --solved")" -- "$cur" )
+
      ;;
+

+
    'issue cache'*)
+
      while read -r; do COMPREPLY+=( "$REPLY" ); done < <( compgen -W "$(_rad_completions_filter "$(rad issue list | awk 'NR>3 { print $3}' | head -n -1)")" -- "$cur" )
+
      ;;
+

+
    'node events'*)
+
      while read -r; do COMPREPLY+=( "$REPLY" ); done < <( compgen -W "$(_rad_completions_filter "--timeout -n")" -- "$cur" )
+
      ;;
+

+
    'node config'*)
+
      while read -r; do COMPREPLY+=( "$REPLY" ); done < <( compgen -W "$(_rad_completions_filter "--addresses")" -- "$cur" )
+
      ;;
+

+
    'patch ready'*)
+
      while read -r; do COMPREPLY+=( "$REPLY" ); done < <( compgen -W "$(_rad_completions_filter "$(rad patch list | awk 'NR>3 { print $3}' | head -n -1) --undo")" -- "$cur" )
+
      ;;
+

+
    'patch label'*)
+
      while read -r; do COMPREPLY+=( "$REPLY" ); done < <( compgen -W "$(_rad_completions_filter "$(rad patch list | awk 'NR>3 { print $3}' | head -n -1)")" -- "$cur" )
+
      ;;
+

+
    'remote list'*)
+
      while read -r; do COMPREPLY+=( "$REPLY" ); done < <( compgen -W "$(_rad_completions_filter "--help --tracked --untracked --all")" -- "$cur" )
+
      ;;
+

+
    'clone'*'rad'*)
+
      while read -r; do COMPREPLY+=( "$REPLY" ); done < <( compgen -A directory -- "$cur" )
+
      ;;
+

+
    'config get'*)
+
      while read -r; do COMPREPLY+=( "$REPLY" ); done < <( compgen -W "$(_rad_completions_filter "$(rad config show | jq -r 'keys|join("\n")')")" -- "$cur" )
+
      ;;
+

+
    'issue edit'*)
+
      while read -r; do COMPREPLY+=( "$REPLY" ); done < <( compgen -W "$(_rad_completions_filter "$(rad issue list | awk 'NR>3 { print $3}' | head -n -1)")" -- "$cur" )
+
      ;;
+

+
    'issue list'*)
+
      while read -r; do COMPREPLY+=( "$REPLY" ); done < <( compgen -W "$(_rad_completions_filter "--assigned --all --closed --open --solved")" -- "$cur" )
+
      ;;
+

+
    'issue open'*)
+
      while read -r; do COMPREPLY+=( "$REPLY" ); done < <( compgen -W "$(_rad_completions_filter "--title --description --label")" -- "$cur" )
+
      ;;
+

+
    'issue show'*)
+
      while read -r; do COMPREPLY+=( "$REPLY" ); done < <( compgen -W "$(_rad_completions_filter "$(rad issue list | awk 'NR>3 { print $3}' | head -n -1)")" -- "$cur" )
+
      ;;
+

+
    'node start'*)
+
      while read -r; do COMPREPLY+=( "$REPLY" ); done < <( compgen -W "$(_rad_completions_filter "--foreground --verbose --path")" -- "$cur" )
+
      ;;
+

+
    'patch list'*)
+
      while read -r; do COMPREPLY+=( "$REPLY" ); done < <( compgen -W "$(_rad_completions_filter "--all --merged --open --archived --draft --author --authored")" -- "$cur" )
+
      ;;
+

+
    'patch show'*)
+
      while read -r; do COMPREPLY+=( "$REPLY" ); done < <( compgen -W "$(_rad_completions_filter "$(rad patch list | awk 'NR>3 { print $3}' | head -n -1) --patch -p --verbose -v")" -- "$cur" )
+
      ;;
+

+
    'patch diff'*)
+
      while read -r; do COMPREPLY+=( "$REPLY" ); done < <( compgen -W "$(_rad_completions_filter "$(rad patch list | awk 'NR>3 { print $3}' | head -n -1) --revision")" -- "$cur" )
+
      ;;
+

+
    'patch edit'*)
+
      while read -r; do COMPREPLY+=( "$REPLY" ); done < <( compgen -W "$(_rad_completions_filter "$(rad patch list | awk 'NR>3 { print $3}' | head -n -1) --message -m")" -- "$cur" )
+
      ;;
+

+
    'remote add'*)
+
      while read -r; do COMPREPLY+=( "$REPLY" ); done < <( compgen -W "$(_rad_completions_filter "--name --no-fetch --fetch --no-sync --sync")" -- "$cur" )
+
      ;;
+

+
    'id update'*)
+
      while read -r; do COMPREPLY+=( "$REPLY" ); done < <( compgen -W "$(_rad_completions_filter "--help --title --description --delegate --rescind --threshold --visibility --allow --payload --no-confirm")" -- "$cur" )
+
      ;;
+

+
    'id'*'accept')
+
      while read -r; do COMPREPLY+=( "$REPLY" ); done < <( compgen -W "$(_rad_completions_filter "$(rad id | awk 'NR>3 { print $3}' | head -n -1)")" -- "$cur" )
+
      ;;
+

+
    'id'*'reject')
+
      while read -r; do COMPREPLY+=( "$REPLY" ); done < <( compgen -W "$(_rad_completions_filter "$(rad id | awk 'NR>3 { print $3}' | head -n -1)")" -- "$cur" )
+
      ;;
+

+
    'id'*'redact')
+
      while read -r; do COMPREPLY+=( "$REPLY" ); done < <( compgen -W "$(_rad_completions_filter "$(rad id | awk 'NR>3 { print $3}' | head -n -1)")" -- "$cur" )
+
      ;;
+

+
    'node logs'*)
+
      while read -r; do COMPREPLY+=( "$REPLY" ); done < <( compgen -W "$(_rad_completions_filter "-n")" -- "$cur" )
+
      ;;
+

+
    'patch set'*)
+
      while read -r; do COMPREPLY+=( "$REPLY" ); done < <( compgen -W "$(_rad_completions_filter "$(rad patch list | awk 'NR>3 { print $3}' | head -n -1)")" -- "$cur" )
+
      ;;
+

+
    'checkout'*)
+
      while read -r; do COMPREPLY+=( "$REPLY" ); done < <( compgen -W "$(_rad_completions_filter "--help --remote --no-confirm")" -- "$cur" )
+
      ;;
+

+
    'unfollow'*)
+
      while read -r; do COMPREPLY+=( "$REPLY" ); done < <( compgen -W "$(_rad_completions_filter "--help --verbose -v")" -- "$cur" )
+
      ;;
+

+
    'id'*'edit')
+
      while read -r; do COMPREPLY+=( "$REPLY" ); done < <( compgen -W "$(_rad_completions_filter "$(rad id | awk 'NR>3 { print $3}' | head -n -1)")" -- "$cur" )
+
      ;;
+

+
    'id'*'show')
+
      while read -r; do COMPREPLY+=( "$REPLY" ); done < <( compgen -W "$(_rad_completions_filter "$(rad id | awk 'NR>3 { print $3}' | head -n -1)")" -- "$cur" )
+
      ;;
+

+
    'inspect'*)
+
      while read -r; do COMPREPLY+=( "$REPLY" ); done < <( compgen -W "$(_rad_completions_filter "--help --rid --payload --refs --sigrefs --identity --visibility --delegates --policy --history")" -- "$cur" )
+
      ;;
+

+
    'config'*)
+
      while read -r; do COMPREPLY+=( "$REPLY" ); done < <( compgen -W "$(_rad_completions_filter "--help show init edit get")" -- "$cur" )
+
      ;;
+

+
    'follow'*)
+
      while read -r; do COMPREPLY+=( "$REPLY" ); done < <( compgen -W "$(_rad_completions_filter "--help --alias --verbose -v")" -- "$cur" )
+
      ;;
+

+
    'remote'*)
+
      while read -r; do COMPREPLY+=( "$REPLY" ); done < <( compgen -W "$(_rad_completions_filter "--help list add rm")" -- "$cur" )
+
      ;;
+

+
    'block'*)
+
      while read -r; do COMPREPLY+=( "$REPLY" ); done < <( compgen -W "$(_rad_completions_filter "--help")" -- "$cur" )
+
      ;;
+

+
    'clone'*)
+
      while read -r; do COMPREPLY+=( "$REPLY" ); done < <( compgen -W "$(_rad_completions_filter "--help --scope -s --seed --timeout")" -- "$cur" )
+
      ;;
+

+
    'inbox'*)
+
      while read -r; do COMPREPLY+=( "$REPLY" ); done < <( compgen -W "$(_rad_completions_filter "--help --all --repo --sort-by --reverse -r --show-unknown")" -- "$cur" )
+
      ;;
+

+
    'issue'*)
+
      while read -r; do COMPREPLY+=( "$REPLY" ); done < <( compgen -W "$(_rad_completions_filter "--help delete edit list open react assign label comment show state cache")" -- "$cur" )
+
      ;;
+

+
    'patch'*)
+
      while read -r; do COMPREPLY+=( "$REPLY" ); done < <( compgen -W "$(_rad_completions_filter "--help list show diff archive update checkout delete redact ready edit set comment label")" -- "$cur" )
+
      ;;
+

+
    'clean'*)
+
      while read -r; do COMPREPLY+=( "$REPLY" ); done < <( compgen -W "$(_rad_completions_filter "--help --no-confirm")" -- "$cur" )
+
      ;;
+

+
    'auth'*)
+
      while read -r; do COMPREPLY+=( "$REPLY" ); done < <( compgen -W "$(_rad_completions_filter "--help --alias --stdin")" -- "$cur" )
+
      ;;
+

+
    'init'*)
+
      while read -r; do COMPREPLY+=( "$REPLY" ); done < <( compgen -W "$(_rad_completions_filter "--help --name --description --default-branch --scope --private --public -u --set-upstream --setup-signing --no-confirm --no-seed -v --verbose")" -- "$cur" )
+
      ;;
+

+
    'node'*)
+
      while read -r; do COMPREPLY+=( "$REPLY" ); done < <( compgen -W "$(_rad_completions_filter "--help status start stop logs debug connect routing events config db")" -- "$cur" )
+
      ;;
+

+
    'self'*)
+
      while read -r; do COMPREPLY+=( "$REPLY" ); done < <( compgen -W "$(_rad_completions_filter "--help --did --alias --nid --home --config --ssh-key --ssh-fingerprint")" -- "$cur" )
+
      ;;
+

+
    'seed'*)
+
      while read -r; do COMPREPLY+=( "$REPLY" ); done < <( compgen -W "$(_rad_completions_filter "--help --no-fetch --fetch --scope --verbose -v")" -- "$cur" )
+
      ;;
+

+
    'sync'*)
+
      while read -r; do COMPREPLY+=( "$REPLY" ); done < <( compgen -W "$(_rad_completions_filter "--help status --sort-by -f --fetch -a --announce -i --inventory --timeout --seed -r --replicas -v --verbose --debug")" -- "$cur" )
+
      ;;
+

+
    'id'*)
+
      while read -r; do COMPREPLY+=( "$REPLY" ); done < <( compgen -W "$(_rad_completions_filter "--help --repo --quiet -q list update edit show accept redact")" -- "$cur" )
+
      ;;
+

+
    'ls'*)
+
      while read -r; do COMPREPLY+=( "$REPLY" ); done < <( compgen -W "$(_rad_completions_filter "--help --private --public --seeded -s --all -a --verbose -v")" -- "$cur" )
+
      ;;
+

+
    *)
+
      while read -r; do COMPREPLY+=( "$REPLY" ); done < <( compgen -W "$(_rad_completions_filter "auth block checkout clone config fork help id init inbox inspect issue ls node patch path clean self seed follow unfollow unseed remote stats sync")" -- "$cur" )
+
      ;;
+

+
  esac
+
} &&
+
complete -F _rad_completions rad
+

+
# ex: filetype=sh
added completely.yaml
@@ -0,0 +1,404 @@
+
rad:
+
- auth
+
- block
+
- checkout
+
- clone
+
- config
+
- fork
+
- help
+
- id
+
- init
+
- inbox
+
- inspect
+
- issue
+
- ls
+
- node
+
- patch
+
- path
+
- clean
+
- self
+
- seed
+
- follow
+
- unfollow
+
- unseed
+
- remote
+
- stats
+
- sync
+

+
rad auth:
+
- --help
+
- --alias
+
- --stdin
+

+
rad block:
+
- --help
+

+
rad checkout:
+
- --help
+
- --remote
+
- --no-confirm
+

+
rad clone:
+
- --help
+
- --scope
+
- -s
+
- --seed
+
- --timeout
+

+
rad clone*--scope: &scope
+
- followed
+
- all
+

+
rad clone*rad*:
+
- <directory>
+

+
rad config:
+
- --help
+
- show
+
- init
+
- edit
+
- get
+

+
rad config get:
+
- $(rad config show | jq -r 'keys|join("\n")')
+

+
rad id:
+
- --help
+
- --repo
+
- --quiet
+
- -q
+
- list
+
- update
+
- edit
+
- show
+
- accept
+
- redact
+

+
rad id update:
+
- --help
+
- --title
+
- --description
+
- --delegate
+
- --rescind
+
- --threshold
+
- --visibility
+
- --allow
+
- --payload
+
- --no-confirm
+

+
rad id update*--visibility:
+
- private
+
- public
+

+
rad id*edit: &identity
+
- $(rad id | awk 'NR>3 { print $3}' | head -n -1)
+

+
rad id*show: *identity
+

+
rad id*accept: *identity
+

+
rad id*reject: *identity
+

+
rad id*redact: *identity
+

+
rad init:
+
- --help
+
- --name
+
- --description
+
- --default-branch
+
- --scope
+
- --private
+
- --public
+
- -u
+
- --set-upstream
+
- --setup-signing
+
- --no-confirm
+
- --no-seed
+
- -v
+
- --verbose
+

+
rad init*--scope: *scope
+

+
rad inbox:
+
- --help
+
- --all
+
- --repo
+
- --sort-by
+
- --reverse
+
- -r
+
- --show-unknown
+

+
rad inbox*--sort-by:
+
- id
+
- timestamp
+

+
rad inspect:
+
- --help
+
- --rid
+
- --payload
+
- --refs
+
- --sigrefs
+
- --identity
+
- --visibility
+
- --delegates
+
- --policy
+
- --history
+

+
rad issue:
+
- --help
+
- delete
+
- edit
+
- list
+
- open
+
- react
+
- assign
+
- label
+
- comment
+
- show
+
- state
+
- cache
+

+
rad issue delete: &issue
+
- $(rad issue list | awk 'NR>3 { print $3}' | head -n -1)
+

+
rad issue edit: *issue
+

+
rad issue list:
+
- --assigned
+
- --all
+
- --closed
+
- --open
+
- --solved
+

+
rad issue open:
+
- --title
+
- --description
+
- --label
+

+
rad issue react:
+
- $(rad issue list | awk 'NR>3 { print $3}' | head -n -1)
+
- --emoji
+
- --to
+

+
rad issue assign:
+
- $(rad issue list | awk 'NR>3 { print $3}' | head -n -1)
+
- --add
+
- --delete
+

+
rad issue label:
+
- $(rad issue list | awk 'NR>3 { print $3}' | head -n -1)
+
- --add
+
- --delete
+

+
rad issue comment:
+
- $(rad issue list | awk 'NR>3 { print $3}' | head -n -1)
+
- --message
+
- --reply-to
+

+
rad issue show: *issue
+

+
rad issue state:
+
- $(rad issue list | awk 'NR>3 { print $3}' | head -n -1)
+
- --closed
+
- --open
+
- --solved
+

+
rad issue cache: *issue
+

+
rad ls:
+
- --help
+
- --private
+
- --public
+
- --seeded
+
- -s
+
- --all
+
- -a
+
- --verbose
+
- -v
+

+
rad node:
+
- --help
+
- status
+
- start
+
- stop
+
- logs
+
- debug
+
- connect
+
- routing
+
- events
+
- config
+
- db
+

+
rad node start:
+
- --foreground
+
- --verbose
+
- --path
+

+
rad node logs:
+
- -n
+

+
rad node routing:
+
- --rid
+
- --nid
+
- --json
+

+
rad node events:
+
- --timeout
+
- -n
+

+
rad node config:
+
- --addresses
+

+
rad patch:
+
- --help
+
- list
+
- show
+
- diff
+
- archive
+
- update
+
- checkout
+
- delete
+
- redact
+
- ready
+
- edit
+
- set
+
- comment
+
- label
+

+
rad patch list:
+
- --all
+
- --merged
+
- --open
+
- --archived
+
- --draft
+
- --author
+
- --authored
+

+
rad patch show:
+
- $(rad patch list | awk 'NR>3 { print $3}' | head -n -1)
+
- --patch
+
- -p
+
- --verbose
+
- -v
+

+
rad patch diff:
+
- $(rad patch list | awk 'NR>3 { print $3}' | head -n -1)
+
- --revision
+

+
rad patch archive:
+
- $(rad patch list | awk 'NR>3 { print $3}' | head -n -1)
+
- --undo
+

+
rad patch update:
+
- $(rad patch list | awk 'NR>3 { print $3}' | head -n -1)
+
- --message
+
- -m
+
- --no-message
+

+
rad patch checkout:
+
- $(rad patch list | awk 'NR>3 { print $3}' | head -n -1)
+
- --revision
+
- --name
+
- --force
+
- -f
+

+
rad patch delete: &patch
+
- $(rad patch list | awk 'NR>3 { print $3}' | head -n -1)
+

+
rad patch redact: *patch
+

+
rad patch ready:
+
- $(rad patch list | awk 'NR>3 { print $3}' | head -n -1)
+
- --undo
+

+
rad patch edit:
+
- $(rad patch list | awk 'NR>3 { print $3}' | head -n -1)
+
- --message
+
- -m
+

+
rad patch set: *patch
+

+
rad patch comment:
+
- $(rad patch list | awk 'NR>3 { print $3}' | head -n -1)
+
- --message
+
- -m
+
- --reply-to
+

+
rad patch label: *patch
+

+
rad clean:
+
- --help
+
- --no-confirm
+

+
rad self:
+
- --help
+
- --did
+
- --alias
+
- --nid
+
- --home
+
- --config
+
- --ssh-key
+
- --ssh-fingerprint
+

+
rad seed:
+
- --help
+
- --no-fetch
+
- --fetch
+
- --scope
+
- --verbose
+
- -v
+

+
rad seed*--scope: *scope
+

+
rad follow:
+
- --help
+
- --alias
+
- --verbose
+
- -v
+

+
rad unfollow:
+
- --help
+
- --verbose
+
- -v
+

+
rad remote:
+
- --help
+
- list
+
- add
+
- rm
+

+
rad remote list:
+
- --help
+
- --tracked
+
- --untracked
+
- --all
+

+
rad remote add:
+
- --name
+
- --no-fetch
+
- --fetch
+
- --no-sync
+
- --sync
+

+
rad sync:
+
- --help
+
- status
+
- --sort-by
+
- -f
+
- --fetch
+
- -a
+
- --announce
+
- -i
+
- --inventory
+
- --timeout
+
- --seed
+
- -r
+
- --replicas
+
- -v
+
- --verbose
+
- --debug
+

+
rad sync*--sort-by:
+
- nid
+
- alias
+
- status

\ No newline at end of file