You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
echo" list Show packages in one or all repositories"
42
42
echo" search Search in package names and info files"
43
43
echo" edit Edit package files"
44
+
echo" show Show package files"
44
45
echo
45
46
46
47
if [[ -n$long_usage ]];then
@@ -534,7 +535,7 @@ rush_info_usage() {
534
535
echo
535
536
536
537
printf"Usage:\n"
537
-
printf" rush info PACKAGE [options]\n"
538
+
printf" rush info PACKAGE\n"
538
539
printf" rush info --help | -h\n"
539
540
echo
540
541
@@ -544,11 +545,7 @@ rush_info_usage() {
544
545
echo" --help, -h"
545
546
printf" Show this help\n"
546
547
echo
547
-
# :command.usage_flags
548
-
# :flag.usage
549
-
echo" --extended, -x"
550
-
printf" Show source code for the main and undo scripts\n"
551
-
echo
548
+
552
549
# :command.usage_args
553
550
printf"Arguments:\n"
554
551
@@ -694,6 +691,44 @@ rush_edit_usage() {
694
691
fi
695
692
}
696
693
694
+
# :command.usage
695
+
rush_show_usage() {
696
+
if [[ -n$long_usage ]];then
697
+
printf"rush show - Show package files\n"
698
+
echo
699
+
else
700
+
printf"rush show - Show package files\n"
701
+
echo
702
+
fi
703
+
704
+
printf"Usage:\n"
705
+
printf" rush show PACKAGE [FILE]\n"
706
+
printf" rush show --help | -h\n"
707
+
echo
708
+
709
+
if [[ -n$long_usage ]];then
710
+
printf"Options:\n"
711
+
# :command.usage_fixed_flags
712
+
echo" --help, -h"
713
+
printf" Show this help\n"
714
+
echo
715
+
716
+
# :command.usage_args
717
+
printf"Arguments:\n"
718
+
719
+
# :argument.usage
720
+
echo" PACKAGE"
721
+
printf" Package name\n This can either be the package name without the repository name (in\n this case, the default repository will be used) or in the form of\n 'repo:package'.\n"
722
+
echo
723
+
724
+
# :argument.usage
725
+
echo" FILE"
726
+
printf" File to show (show all if not specified)\n"
0 commit comments