Skip to content

Commit

Permalink
[FIX] Removed unnecessary types in commandlineoptions.scala
Browse files Browse the repository at this point in the history
  • Loading branch information
Zethson committed May 14, 2019
1 parent 479cbc9 commit b2dbe04
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 7 deletions.
3 changes: 0 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,3 @@ project/plugins/project/
# DB properties
src/main/resources/database_properties.txt
database_properties.txt

# misc
dry.txt
8 changes: 4 additions & 4 deletions src/main/scala/io/cli/CommandLineOptions.scala
Original file line number Diff line number Diff line change
Expand Up @@ -16,23 +16,23 @@ class CommandLineOptions {

@Option(names = Array("-d", "--driver"),
description = Array("Database driver name"))
var databaseDriver: String = ""
var databaseDriver = ""

@Option(names = Array("-c", "--config"),
description = Array("Database config file path."),
required = true)
var configFilePath: String = ""
var configFilePath = ""

@Option(names = Array("-t", "--table"),
description = Array("Table to run query on. Required if using Spark."))
var table: String = ""
var table = ""

@Option(names = Array("-q", "--query"),
description = Array("SQL query to execute."),
arity = "0..1",
interactive = true,
required = true)
var sqlQuery: String = ""
var sqlQuery = ""

@Option(names = Array("-h", "--help"),
description = Array("Display a help message."),
Expand Down

0 comments on commit b2dbe04

Please sign in to comment.