mirror of
https://github.com/daylinmorgan/viv.git
synced 2024-11-12 12:13:15 -06:00
style: lowercase v's
This commit is contained in:
parent
819257c9bd
commit
27d7952cb1
2 changed files with 6 additions and 6 deletions
|
@ -11,7 +11,7 @@
|
|||
|
||||
Try before you buy!
|
||||
```sh
|
||||
python3 <(curl -fsSL gh.dayl.in/viv/viv.py) run pycowsay -- "Viv isn't venv\!"
|
||||
python3 <(curl -fsSL gh.dayl.in/viv/viv.py) run pycowsay -- "viv isn't venv\!"
|
||||
```
|
||||
---
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
#!/usr/bin/env python3
|
||||
"""Viv isn't venv!
|
||||
"""viv isn't venv!
|
||||
|
||||
viv -h
|
||||
OR
|
||||
|
@ -52,7 +52,7 @@ from typing import (
|
|||
from urllib.error import HTTPError
|
||||
from urllib.request import urlopen
|
||||
|
||||
__version__ = "23.5a4-4-g158acbc-dev"
|
||||
__version__ = "23.5a4-5-g819257c-dev"
|
||||
|
||||
|
||||
class Config:
|
||||
|
@ -216,7 +216,7 @@ class Ansi:
|
|||
return " ".join(
|
||||
(
|
||||
self.style(f, "magenta") + self.style(rest, "cyan")
|
||||
for f, rest in (("V", "iv"), ("i", "sn't"), ("v", "env!"))
|
||||
for f, rest in (("v", "iv"), ("i", "sn't"), ("v", "env!"))
|
||||
)
|
||||
)
|
||||
|
||||
|
@ -260,7 +260,7 @@ class Ansi:
|
|||
return (row,)
|
||||
|
||||
def viv_preamble(self, style: str = "magenta", sep: str = "::") -> str:
|
||||
return f"{self.cyan}Viv{self.end}{self.__dict__[style]}{sep}{self.end}"
|
||||
return f"{self.cyan}viv{self.end}{self.__dict__[style]}{sep}{self.end}"
|
||||
|
||||
def table(
|
||||
self, rows: Tuple[Tuple[str, Sequence[str]], ...], header_style: str = "cyan"
|
||||
|
@ -1249,7 +1249,7 @@ class Viv:
|
|||
run an app with an on-demand venv
|
||||
|
||||
examples:
|
||||
viv r pycowsay -- "Viv isn't venv\!"
|
||||
viv r pycowsay -- "viv isn't venv\!"
|
||||
viv r rich -b python -- -m rich
|
||||
"""
|
||||
if not args.reqs:
|
||||
|
|
Loading…
Reference in a new issue