Skip to content

Commit

Permalink
fix imports
Browse files Browse the repository at this point in the history
  • Loading branch information
vguptarippling committed Apr 18, 2024
1 parent 9d597c6 commit 9fed554
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 2 deletions.
Empty file.
File renamed without changes.
14 changes: 14 additions & 0 deletions rippling_cli/cli/commands/flux/flux.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
import click

from rippling_cli.cli.commands.flux.app import app
from rippling_cli.utils.login_utils import ensure_logged_in


@click.group()
@click.pass_context
def flux(ctx: click.Context) -> None:
"""Manage flux apps"""
ensure_logged_in(ctx)


flux.add_command(app) # type: ignore
4 changes: 2 additions & 2 deletions rippling_cli/cli/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

import click

from rippling_cli.cli.commands.app import app
from rippling_cli.cli.commands.flux.flux import flux
from rippling_cli.cli.commands.login import login
from rippling_cli.config.config import get_client_id, get_oauth_token_data
from rippling_cli.constants import EXIT_UNKNOWN_EXCEPTION
Expand Down Expand Up @@ -43,7 +43,7 @@ def cli(ctx):

COMMANDS_LIST: list[Union[click.Command, click.Group]] = [
login,
app
flux
]


Expand Down

0 comments on commit 9fed554

Please sign in to comment.