did some docker stuff ; deploy this shit .
Some checks failed
Deploy / build-and-deploy (push) Failing after 22m33s
Some checks failed
Deploy / build-and-deploy (push) Failing after 22m33s
This commit is contained in:
15
tooling/ascii.py
Executable file
15
tooling/ascii.py
Executable file
@@ -0,0 +1,15 @@
|
||||
#!/bin/python
|
||||
from pyfiglet import Figlet
|
||||
import sys
|
||||
|
||||
def asciiart(text: str) -> str:
|
||||
f = Figlet(font="slant")
|
||||
return f.renderText(text)
|
||||
|
||||
if __name__ == "__main__":
|
||||
if len(sys.argv) != 2:
|
||||
print("Usage: python ascii.py \"TEXT\"")
|
||||
sys.exit(1)
|
||||
|
||||
text = sys.argv[1]
|
||||
print(asciiart(text))
|
||||
Reference in New Issue
Block a user