File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed
Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change 1010
1111from plain .cli import register_cli
1212from plain .cli .print import print_event
13+ from plain .cli .runtime import without_runtime_setup
1314
1415from .biome import Biome
1516
1617DEFAULT_RUFF_CONFIG = Path (__file__ ).parent / "ruff_defaults.toml"
1718
1819
20+ @without_runtime_setup
1921@register_cli ("code" )
2022@click .group ()
2123def cli () -> None :
2224 """Code formatting and linting"""
2325 pass
2426
2527
28+ @without_runtime_setup
2629@cli .command ()
2730@click .option ("--force" , is_flag = True , help = "Reinstall even if up to date" )
2831@click .pass_context
@@ -52,6 +55,7 @@ def install(ctx: click.Context, force: bool) -> None:
5255 click .secho ("Biome already installed" , fg = "green" )
5356
5457
58+ @without_runtime_setup
5559@cli .command ()
5660def update () -> None :
5761 """Update the Biome standalone binary to the latest release."""
@@ -67,6 +71,7 @@ def update() -> None:
6771 click .secho (f"Biome { version } installed" , fg = "green" )
6872
6973
74+ @without_runtime_setup
7075@cli .command ()
7176@click .pass_context
7277@click .argument ("path" , default = "." )
@@ -100,6 +105,7 @@ def check(ctx: click.Context, path: str) -> None:
100105 sys .exit (result .returncode )
101106
102107
108+ @without_runtime_setup
103109@register_cli ("fix" )
104110@cli .command ()
105111@click .pass_context
You can’t perform that action at this time.
0 commit comments