Explorar o código

Add a UserWarning about the CLI interface

Oz N Tiram %!s(int64=4) %!d(string=hai) anos
pai
achega
4376eb6d20
Modificáronse 1 ficheiros con 10 adicións e 0 borrados
  1. 10 0
      src/rover/__init__.py

+ 10 - 0
src/rover/__init__.py

@@ -1 +1,11 @@
+import warnings
+import textwrap as text
+
 from .rover import Rover
+
+def main():
+    warnings.warn(text.dedent(
+        """
+        There is still no command line for Rover.
+        Use a Python shell to interact with Rover.
+        """))