Skip to content

Commit fbec2f2

Browse files
feat: change tumbleweed command to twd
1 parent b6a4f56 commit fbec2f2

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,12 @@ Understand and break down large classes without breaking a sweat 😓
1111
Build the project first and then run the command line tool.
1212

1313
```bash
14-
$ tumbleweed view io.redgreen.ExampleClass
14+
$ twd view io.redgreen.ExampleClass
1515
```
1616

1717
The command will start a web server on port 7070. Go to `localhost:7070` in your browser to see the diagram.
1818

19-
For more options, run `tumbleweed --help`.
19+
For more options, run `twd --help`.
2020

2121
## Known issues
2222

cli/build.gradle.kts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ plugins {
66
}
77

88
application {
9-
applicationName = "tumbleweed"
9+
applicationName = "twd"
1010
mainClassName = "io.redgreen.tumbleweed.cli.MainKt"
1111
}
1212

@@ -20,7 +20,7 @@ tasks.withType<Jar> {
2020

2121
tasks {
2222
named<ShadowJar>("shadowJar") {
23-
archiveBaseName.set("tumbleweed")
23+
archiveBaseName.set("twd")
2424
mergeServiceFiles()
2525
}
2626
}

cli/src/main/kotlin/io/redgreen/tumbleweed/cli/TumbleweedCommand.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import io.redgreen.tumbleweed.cli.commands.ViewCommand
44
import picocli.CommandLine.Command
55

66
@Command(
7-
name = "tumbleweed",
7+
name = "twd",
88
subcommands = [
99
ViewCommand::class,
1010
],

tumbleweed renamed to twd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@
33
set -e
44

55
./gradlew :cli:installDist -q
6-
./cli/build/install/tumbleweed/bin/tumbleweed $*
6+
./cli/build/install/twd/bin/twd $*

0 commit comments

Comments
 (0)