mirror of
https://github.com/agarrharr/awesome-cli-apps
synced 2024-12-22 04:40:23 +01:00
Add script for checking apps for deprecation (#483)
This commit is contained in:
parent
241464a394
commit
f07a78b201
21
check-for-deprecation.sh
Executable file
21
check-for-deprecation.sh
Executable file
@ -0,0 +1,21 @@
|
||||
#! /bin/sh
|
||||
|
||||
OUT_FILE=deprecated.txt
|
||||
|
||||
if [ "$1" = "--help" ] || [ "$1" = "-h" ] || [ "$1" = "help" ]; then
|
||||
cat <<EOF
|
||||
$ check-for-deprecation.sh
|
||||
Check all github apps in the readme for deprecation.
|
||||
|
||||
Found deprecated repos are written to: $OUT_FILE
|
||||
|
||||
Parallel execution (100% cpu).
|
||||
EOF
|
||||
exit
|
||||
fi
|
||||
|
||||
APPS=$(cat readme.md | grep -e "- \[.\+\]\(.\+\)\s" | grep 'github.com' | awk -F "(" '{ print $2 }' | cut -d ")" -f1)
|
||||
|
||||
for i in $(echo $APPS); do
|
||||
echo $(if [[ -n $(curl -SsL "$i" | grep "This repository has been archived by the owner. It is now read-only.") ]]; then echo DEPRECATED $i | tee >>deprecated.txt >(cat /dev/stdin); else echo CHECKED $i | cat /dev/stdin; fi) &
|
||||
done
|
@ -94,13 +94,11 @@ Inspired by the [awesome](https://github.com/sindresorhus/awesome) list thing.
|
||||
- [itunes-remote](https://github.com/mischah/itunes-remote) - Control iTunes via CLI.
|
||||
- [pianobar](https://6xq.net/pianobar/) - Pandora client.
|
||||
- [somafm-cli](https://github.com/rockymadden/somafm-cli) - Listen to SomaFM in your terminal.
|
||||
- [nehm](https://github.com/bogem/nehm) - Download tracks from SoundCloud.
|
||||
- [mpd](https://github.com/MusicPlayerDaemon/MPD) - Music Player Daemon.
|
||||
- [ncmpcpp](https://github.com/arybczak/ncmpcpp) - mpd client.
|
||||
- [moc](http://moc.daper.net/) - Console audio player for Linux/UNIX.
|
||||
- [musikcube](https://github.com/clangen/musikcube) - Cross-platform, terminal-based music player, audio engine, metadata indexer, and server.
|
||||
- [beets](https://github.com/beetbox/beets) - Music library manager and tagger.
|
||||
- [playx](https://github.com/NISH1001/playx) - Stream songs/playlists from various sources.
|
||||
- [spotify-tui](https://github.com/Rigellute/spotify-tui) - Spotify client.
|
||||
- [swaglyrics-for-spotify](https://github.com/SwagLyrics/SwagLyrics-For-Spotify) - Spotify lyrics.
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user