Skip to content

Commit 5bf326b

Browse files
committed
add lint option to cli
1 parent 013ac6f commit 5bf326b

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

stac_validator/stac_validator.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,12 @@
55

66
from .validate import StacValidate
77

8+
# from stac_check.lint import Linter
9+
810

911
@click.command()
1012
@click.argument("stac_file")
13+
@click.option("--lint", is_flag=True, help="Use stac-check to lint stac object.")
1114
@click.option(
1215
"--core", is_flag=True, help="Validate core stac object only without extensions."
1316
)
@@ -47,6 +50,7 @@
4750
@click.version_option(version="2.2.0")
4851
def main(
4952
stac_file,
53+
lint,
5054
recursive,
5155
core,
5256
extensions,
@@ -57,6 +61,10 @@ def main(
5761
no_output,
5862
log_file,
5963
):
64+
65+
if lint is True:
66+
pass
67+
6068
stac = StacValidate(
6169
stac_file=stac_file,
6270
recursive=recursive,

0 commit comments

Comments
 (0)