We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3895c1c commit 8671d12Copy full SHA for 8671d12
1 file changed
implement-cowsay/cow.py
@@ -1 +1,19 @@
1
-import cowsay
+import cowsay
2
+import argparse
3
+
4
+parser = argparse.ArgumentParser(
5
+ prog="cowsay",
6
+ description="Make animals say things"
7
+)
8
9
+parser.add_argument("--animal", help="The animal to be saying things.")
10
+parser.add_argument("message", nargs="+", help="The message to say.")
11
12
+args = parser.parse_args()
13
14
+# cowsay.cow(" ".join(sys.argv[1:]))
15
16
17
+animals = cowsay.char_names
18
19
+print(animals)
0 commit comments