Skip to content

Commit

Permalink
nearly done with #102 i think
Browse files Browse the repository at this point in the history
  • Loading branch information
ZeroIntensity committed Jan 25, 2024
1 parent f322469 commit ebe242f
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions src/view/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -457,6 +457,18 @@ async def index():
def local() -> None:
...

@local.command()
def install():
info("Installing project")
res = subprocess.call(
["pip", "install", "."]
)
if res != 0:
error("failed to install view.py locally")

success("Successfully installed project locally")



@local.command(name="init")
@click.option(
Expand Down

0 comments on commit ebe242f

Please sign in to comment.