Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

adds info command text display & change the order of command display #2916

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/_nebari/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
class OrderCommands(TyperGroup):
def list_commands(self, ctx: typer.Context):
"""Return list of commands in the order appear."""
return list(self.commands)
return list(self.commands)[::-1]


def version_callback(value: bool):
Expand Down
3 changes: 3 additions & 0 deletions src/_nebari/subcommands/info.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@ def nebari_subcommand(cli: typer.Typer):

@cli.command()
def info(ctx: typer.Context):
"""
Display information about installed Nebari plugins and their configurations.
"""
from nebari.plugins import nebari_plugin_manager

rich.print(f"Nebari version: {__version__}")
Expand Down
Loading