Skip to content

Commit

Permalink
approve tests
Browse files Browse the repository at this point in the history
  • Loading branch information
DannyBen committed Aug 30, 2023
1 parent dfff9f5 commit a6b724d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
6 changes: 5 additions & 1 deletion test/approvals/rush_completions
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,10 @@ _rush_completions() {
while read -r; do COMPREPLY+=( "$REPLY" ); done < <( compgen -W "$(_rush_completions_filter "$(rush list -s -a) --clone --force --help --verbose -c -f -h -v")" -- "$cur" )
;;

'ls'*)
while read -r; do COMPREPLY+=( "$REPLY" ); done < <( compgen -W "$(_rush_completions_filter "--all --help --simple -a -h -s")" -- "$cur" )
;;

'a'*)
while read -r; do COMPREPLY+=( "$REPLY" ); done < <( compgen -A directory -W "$(_rush_completions_filter "--help -h")" -- "$cur" )
;;
Expand Down Expand Up @@ -149,7 +153,7 @@ _rush_completions() {
;;

*)
while read -r; do COMPREPLY+=( "$REPLY" ); done < <( compgen -W "$(_rush_completions_filter "$(rush list -s -a) --help --version -h -v a add c clone completions config copy default download e edit g get i info l list p pull push r remove s search show snatch u undo update upload")" -- "$cur" )
while read -r; do COMPREPLY+=( "$REPLY" ); done < <( compgen -W "$(_rush_completions_filter "$(rush list -s -a) --help --version -h -v a add c clone completions config copy default download e edit g get i info l list ls p pull push r remove s search show snatch u undo update upload")" -- "$cur" )
;;

esac
Expand Down
2 changes: 1 addition & 1 deletion test/approvals/rush_list_h
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
rush list - Show packages in one or all repositories.

Alias: l
Alias: l, ls

Usage:
rush list [REPO_OR_PACKAGE] [OPTIONS]
Expand Down

0 comments on commit a6b724d

Please sign in to comment.