Skip to content

Commit 9a8e56d

Browse files
committed
refactor(commands): Remove async driver option
- Remove the 'async' option from the '--driver' flag in the 'music' command - Update the '--driver' flag options in the 'music' command to only include 'fork' and 'sequence'
1 parent af9bb21 commit 9a8e56d

File tree

4 files changed

+2
-118
lines changed

4 files changed

+2
-118
lines changed

app/Commands/MusicCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ final class MusicCommand extends Command
4545
*/
4646
protected $signature = 'music
4747
{keyword? : Search keyword for music}
48-
{--driver=sequence : Specify the search driver(async、fork、sequence)}
48+
{--driver=sequence : Specify the search driver(fork、sequence)}
4949
{--d|dir= : Specify the download directory}
5050
{--no-continue : Specify whether to recall the command after the download is complete}
5151
{--sources=* : Specify the music sources(tencent、netease、kugou)}

app/Music/AsyncMusic.php

Lines changed: 0 additions & 48 deletions
This file was deleted.

composer.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@
2929
"laravel/prompts": "^0.1",
3030
"metowolf/meting": "^1.5",
3131
"phpunit/php-timer": "^6.0",
32-
"spatie/async": "^1.6",
3332
"spatie/fork": "^1.2",
3433
"symfony/polyfill-php83": "^1.28"
3534
},

composer.lock

Lines changed: 1 addition & 68 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)