Skip to content

Commit

Permalink
docs: Updated README
Browse files Browse the repository at this point in the history
  • Loading branch information
lilmayu authored May 18, 2024
1 parent c57c9ce commit 2b6e1f5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ With the magic of annotations and without. ***It is up to you.***
```java
// Usually when program starts
public static void main(String[] args) {
ConsoleParallax consoleParallax = new ConsoleParallax.Builder().build();
ConsoleParallax consoleParallax = ConsoleParallax.builder().build();
consoleParallax.registerCommand(new ExampleCommand());
consoleParallax.start();

Expand Down Expand Up @@ -161,4 +161,4 @@ This class holds some information about the command's invocation:
## Future plans

- Annotations (`@Command`, `@Argument`, etc.) with type checks
- Advanced command parser (`--help`, `--name="some-value"`, greedy strings, etc.)
- Advanced command parser (`--help`, `--name="some-value"`, greedy strings, etc.)

0 comments on commit 2b6e1f5

Please sign in to comment.