added publish and remove commands
This commit is contained in:
@@ -51,14 +51,20 @@ def install(args):
|
||||
|
||||
continue
|
||||
|
||||
response.raise_for_status()
|
||||
|
||||
break
|
||||
|
||||
# create temporary file for tarball
|
||||
f = tempfile.TemporaryFile("wb+")
|
||||
f.write(response.content)
|
||||
f.flush()
|
||||
f.seek(0)
|
||||
console.print("[d][:white_check_mark:] Tarball downloaded![/]")
|
||||
try:
|
||||
f = tempfile.TemporaryFile("wb+")
|
||||
f.write(response.content)
|
||||
f.flush()
|
||||
f.seek(0)
|
||||
console.print("[d][:white_check_mark:] Tarball downloaded![/]")
|
||||
except KeyboardInterrupt:
|
||||
console.print("[b yellow]digpkg: operation cancelled by user[/]")
|
||||
return
|
||||
|
||||
# extract the tarball to the GROUND_LIBS folder
|
||||
status.update("Extracting...")
|
||||
|
||||
Reference in New Issue
Block a user