Skip to content

Commit

Permalink
🐛 Mark InstallCommand options as needing arguments
Browse files Browse the repository at this point in the history
  • Loading branch information
jemrobinson committed Mar 7, 2024
1 parent 497f8eb commit e0d5c4d
Showing 1 changed file with 3 additions and 12 deletions.
15 changes: 3 additions & 12 deletions shui/commands/install_command.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,18 +17,9 @@ class InstallCommand(Command):
description = "Install a particular Spark and Hadoop version"
options = [
option("latest", description="Use the latest available version", flag=True),
option(
"spark",
description="Spark version",
),
option(
"hadoop",
description="Hadoop version",
),
option(
"target",
description="Directory to install into",
),
option("spark", description="Spark version", flag=False),
option("hadoop", description="Hadoop version", flag=False),
option("target", description="Directory to install into", flag=False),
]

def handle(self):
Expand Down

0 comments on commit e0d5c4d

Please sign in to comment.