Debian Codegraph @

sure/cli.py

raw symbols SCIP
1 import os
2
3
4 from sure.version import version
5
6
7 def entrypoint():
8 print(f"sure version {version}\n")
9 print("Example usage in Python:\n\033[1;32m")
10 print(
11 """
12 import sure
13
14
15 def test_something():
16 # Then instead of
17
18 assert x.upper() == 'FOO'
19
20 x = "foo"
21
22 # you can write assertions like:
23 x.upper().should.equal('FOO')
24 """.strip()
25 )
26
27 print("\033[0m\n----\n\033[1;33m")
28 print("Full documentation: \033[1;34mhttps://sure.readthedocs.io/")
29 print("\033[0m")