Skip to content

Commit a0a06a4

Browse files
authored
Triangle Logo, Closes Issue #2 (#29)
2 parents 7bf2226 + 17b425b commit a0a06a4

File tree

2 files changed

+16
-1
lines changed

2 files changed

+16
-1
lines changed

src/pasteme_cli/cli.py

+3-1
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
import sys
1919
import os
2020
from typing import Optional, Sequence
21+
from random import choice as random
2122

2223
from requests.exceptions import ConnectionError
2324

@@ -34,6 +35,7 @@
3435
THEMES_HINT,
3536
)
3637
from .sdk import PasteMe
38+
from .shapes import CHARACTERS
3739

3840
parser = argparse.ArgumentParser(
3941
description=f'A CLI pastebin tool interacting with PasteMe ({PASTEME_SERVICE_URL}) RESTful APIs.',
@@ -132,7 +134,7 @@ def main(args: Optional[Sequence[str]] = None) -> None:
132134
theme=args.theme,
133135
expires_in=expiry_days[args.expiry_time],
134136
)
135-
print(f'PASTE --> {resp.url}')
137+
print(random(CHARACTERS).format(resp.url))
136138
sys.exit()
137139
except ConnectionError:
138140
sys.exit(CONNECTION_ISSUE_HINT)

src/pasteme_cli/shapes.py

+13
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
from xml.dom.pulldom import CHARACTERS
2+
3+
4+
CHARACTERS = [
5+
'¯\_(ツ)_/¯ -> {0}',
6+
'( ͡° ͜ʖ ͡°) -> {0}',
7+
'ಠ_ಠ -> {0}',
8+
'(ᵔᴥᵔ) -> {0}',
9+
'ʕ •ᴥ•ʔ -> {0}',
10+
'( ͡ᵔ ͜ʖ ͡ᵔ ) -> {0}',
11+
'(。◕‿◕。) -> {0}',
12+
'(¬_¬) -> {0}',
13+
]

0 commit comments

Comments
 (0)