Skip to content

Commit a10c07e

Browse files
committed
Refactoring CLI
1 parent eb72808 commit a10c07e

38 files changed

+811
-1335
lines changed

astra-shell/pom.xml

Lines changed: 18 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
44
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
55
<modelVersion>4.0.0</modelVersion>
6-
<artifactId>astra-sh</artifactId>
6+
<artifactId>astra-shell</artifactId>
77
<name>+ astra-shell</name>
88
<packaging>jar</packaging>
99

@@ -15,12 +15,27 @@
1515

1616
<properties>
1717
<jansi.version>2.4.0</jansi.version>
18+
<airline.version>2.7.2</airline.version>
1819
<commons-cli.version>1.5.0</commons-cli.version>
1920
<commons-lang.version>3.12.0</commons-lang.version>
2021
<maven-plugin-exec.version>3.0.0</maven-plugin-exec.version>
2122
</properties>
2223

2324
<dependencies>
25+
26+
<!-- Parsing CLI -->
27+
<dependency>
28+
<groupId>com.github.rvesse</groupId>
29+
<artifactId>airline</artifactId>
30+
<version>${airline.version}</version>
31+
</dependency>
32+
<dependency>
33+
<groupId>commons-cli</groupId>
34+
<artifactId>commons-cli</artifactId>
35+
<version>${commons-cli.version}</version>
36+
</dependency>
37+
38+
<!-- Leveraging SDK for Astra Accesses -->
2439
<dependency>
2540
<groupId>com.datastax.astra</groupId>
2641
<artifactId>astra-sdk</artifactId>
@@ -31,11 +46,8 @@
3146
<artifactId>jansi</artifactId>
3247
<version>${jansi.version}</version>
3348
</dependency>
34-
<dependency>
35-
<groupId>commons-cli</groupId>
36-
<artifactId>commons-cli</artifactId>
37-
<version>${commons-cli.version}</version>
38-
</dependency>
49+
50+
<!-- Commons -->
3951
<dependency>
4052
<groupId>org.apache.commons</groupId>
4153
<artifactId>commons-lang3</artifactId>
@@ -59,7 +71,6 @@
5971
<scope>test</scope>
6072
</dependency>
6173

62-
6374
</dependencies>
6475

6576
<build>

astra-shell/src/main/java/com/datastax/astra/AstraShell.java

Lines changed: 0 additions & 201 deletions
This file was deleted.

astra-shell/src/main/java/com/datastax/astra/CommandProcessor.java

Lines changed: 0 additions & 95 deletions
This file was deleted.

0 commit comments

Comments
 (0)