mirror of
https://github.com/nathom/streamrip.git
synced 2024-09-19 11:18:45 -04:00
New update available message
This commit is contained in:
parent
647a664368
commit
b710f9a164
1 changed files with 6 additions and 0 deletions
|
@ -130,6 +130,12 @@ class DownloadCommand(Command):
|
|||
import re
|
||||
import subprocess
|
||||
|
||||
self.line(
|
||||
"<info>A new version of streamrip <title>v{newest_version}</title>"
|
||||
" is available! Run <cmd>pip3 install streamrip --upgrade</cmd>"
|
||||
" to update.</info>"
|
||||
)
|
||||
|
||||
md_header = re.compile(r"#\s+(.+)")
|
||||
bullet_point = re.compile(r"-\s+(.+)")
|
||||
code = re.compile(r"`([^`]+)`")
|
||||
|
|
Loading…
Reference in a new issue