Skip to content

Commit

Permalink
Improved export command
Browse files Browse the repository at this point in the history
  • Loading branch information
AcidWeb committed Aug 31, 2020
1 parent 3d42568 commit a041624
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
5 changes: 4 additions & 1 deletion CurseBreaker.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
import zipfile
import requests
import platform
import pyperclip
import subprocess
from csv import reader
from pathlib import Path
Expand Down Expand Up @@ -672,7 +673,9 @@ def c_import(self, args):
f'detected by this process.')

def c_export(self, _):
self.console.print(self.core.export_addons(), highlight=False)
payload = self.core.export_addons()
pyperclip.copy(payload)
self.console.print(f'{payload}\n\nThe command above was copied to the clipboard.', highlight=False)

def c_help(self, _):
self.console.print('[green]install [URL][/green]\n\tCommand accepts a space-separated list of links.\n\t[bold w'
Expand Down
1 change: 1 addition & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
prompt_toolkit
cloudscraper
checksumdir
pyperclip
requests
markdown
bbcode
Expand Down

0 comments on commit a041624

Please sign in to comment.