mirror of
https://github.com/iv-org/youtube-utils.git
synced 2025-04-14 04:33:19 -04:00
api-helper: Add global list of all available clients
This commit is contained in:
parent
8d4d6244fb
commit
158f55f755
@ -5,6 +5,24 @@
|
||||
# more intuitive than `-n`
|
||||
|
||||
|
||||
#
|
||||
# Globals
|
||||
#
|
||||
|
||||
ALL_CLIENTS="web
|
||||
web-embed
|
||||
web-mobile
|
||||
android
|
||||
android-embed
|
||||
apple-ios
|
||||
tv-html5
|
||||
tv-html5-embed"
|
||||
|
||||
|
||||
#
|
||||
# Utility functions
|
||||
#
|
||||
|
||||
print_usage()
|
||||
{
|
||||
(
|
||||
@ -41,14 +59,10 @@ print_clients()
|
||||
(
|
||||
echo ""
|
||||
echo "Available clients:"
|
||||
echo " - web"
|
||||
echo " - web-embed"
|
||||
echo " - web-mobile"
|
||||
echo " - android"
|
||||
echo " - android-embed"
|
||||
echo " - apple-ios"
|
||||
echo " - tv-html5"
|
||||
echo " - tv-html5-embed"
|
||||
|
||||
for client in $ALL_CLIENTS; do
|
||||
echo " - $client"
|
||||
done
|
||||
) >&2
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user