Skip to content

Commit 71ac7cc

Browse files
authored
adds info command text display & change the order of command display (#2916)
2 parents 8eb5a62 + 3135e82 commit 71ac7cc

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

src/_nebari/cli.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
class OrderCommands(TyperGroup):
1111
def list_commands(self, ctx: typer.Context):
1212
"""Return list of commands in the order appear."""
13-
return list(self.commands)
13+
return list(self.commands)[::-1]
1414

1515

1616
def version_callback(value: bool):

src/_nebari/subcommands/info.py

+3
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,9 @@ def nebari_subcommand(cli: typer.Typer):
1414

1515
@cli.command()
1616
def info(ctx: typer.Context):
17+
"""
18+
Display information about installed Nebari plugins and their configurations.
19+
"""
1720
from nebari.plugins import nebari_plugin_manager
1821

1922
rich.print(f"Nebari version: {__version__}")

0 commit comments

Comments
 (0)