Coverage for nexios\__main__.py: 33%

9 statements  

« prev     ^ index     » next       coverage.py v7.8.0, created at 2025-05-21 20:31 +0100

1__version__: str = "2.4.3" 

2 

3ascii_art = f""" 

4 _ _ _ 

5 | \\ | | (_) 

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

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

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

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

10 

11 🚀 Welcome to Nexios 🚀 

12 The sleek ASGI Backend Framework 

13 Version: {__version__} 

14""" 

15 

16if __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.")