Skip to content

Commit 3efe570

Browse files
committed
Updated docs.
1 parent 6bbfa03 commit 3efe570

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ This is my code suite, including homemade build and run tools and testing librar
66
### Adding to an Existing Java Class & Tests
77
Add methods to an existing .java file and tests in the class's `main()` method (using the Tester class for test utilities - see example main() methods in existing files)
88

9-
### Creating a new Java Class & Tests
10-
Create a new .java file/class with `package com.cunningdj.grokJava` at the top (or whatever you set the [`DEFAULT_PACKAGE_NAME`](https://github.com/CunningDJ/grokJava/blob/master/gtool#L8) to) and do the same.
9+
### Creating a new Java Class & Tests - `gtool new`
10+
To create a new .java file/class with `package com.cunningdj.grokJava` at the top (or whatever you set the [`DEFAULT_PACKAGE_NAME`](https://github.com/CunningDJ/grokJava/blob/master/gtool#L8) to), run `gtool new [classname]`, e.g. `gtool new GrokkingTopSort`, which will create the corresponding java file with initial boilerplate code at the top level.
1111

1212

1313
## `gtool` - Home Made Clean, Build & Run Tool

0 commit comments

Comments
 (0)