1
0
Fork 0
mirror of https://github.com/daylinmorgan/viv.git synced 2025-01-09 08:07:31 -06:00
viv/examples/named_env.py

17 lines
362 B
Python

#!/usr/bin/env python3
"""
# Viv env is named
Meaning that it will save it within the viv cache not using a hash.
*This environment could then be reused by specifying the name*
"""
__import__("viv").use("rich", name="rich-env")
from rich.console import Console
from rich.markdown import Markdown
console = Console()
md = Markdown(__doc__)
console.print(md)