Skip to content

Commit 773f78e

Browse files
committed
idom restore uses backup
1 parent 043cd0b commit 773f78e

File tree

5 files changed

+198
-132
lines changed

5 files changed

+198
-132
lines changed

MANIFEST.in

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
recursive-include idom/client/app *
22
recursive-exclude idom/client/app/node_modules *
33
recursive-exclude idom/client/app/web_modules *
4+
recursive-exclude idom/client/build *
45
include idom/py.typed
56
include LICENSE
67
include requirements/prod.txt

idom/cli.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,16 +12,19 @@
1212

1313
@main.command()
1414
def install(packages: List[str]) -> None:
15+
"""Install a Javascript package from NPM"""
1516
manage_client.build(packages)
1617
return None
1718

1819

1920
@main.command()
2021
def restore(clean_build: bool = True) -> None:
21-
manage_client.build([], clean_build=clean_build)
22+
"""Return to a fresh install of IDOM's client"""
23+
manage_client.restore()
2224
return None
2325

2426

2527
@show.command()
2628
def version() -> None:
29+
"""The version of IDOM"""
2730
typer.echo(idom.__version__)

0 commit comments

Comments
 (0)