Coverage for nexios\__main__.py: 33%

1 __version__: str = "2.4.3"

2

3 ascii_art = f"""

4 _ _ _

5 | \\ | | (_)

6 | \\| | ___ __ __ _ ___ ___

7 | . ` | / _ \\ \\ \\/ / | | / _ \\ / __|

8 | |\\ | | __/ > < | | | (_) | \\__ \\

9 |_| \\_| \\___| /_/\\_\\ |_| \\___/ |___/

10

11 🚀 Welcome to Nexios 🚀

12 The sleek ASGI Backend Framework

13 Version: {__version__}

14"""

15

16 if __name__ == "__main__":

17 print(ascii_art)

18

19 # Allow direct module execution to invoke the CLI

20 try:

21 from nexios.cli import cli

22

23 cli()

24 except ImportError:

25 print("CLI tools not available. Make sure Nexios is properly installed.")