Skip to content

Commit

Permalink
Fixed typos
Browse files Browse the repository at this point in the history
  • Loading branch information
Mqzn committed Sep 18, 2024
1 parent d135251 commit 00be3f4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/Imperat/command-api/Annotations Command API.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ can be a class, a method, or even a parameter.
- `@Inherit` Declares that the current command class , inherits a subcommand class as it's child,
it's made for developers who would prefer their subcommands to be separated into different classes.

:::info[Advanced%Detail]
:::info[Advanced Detail]
Inner classes are also parsed by default as commands and/or subcommands
without the need for @Inherit.

Expand Down Expand Up @@ -159,7 +159,7 @@ A true flag comes with an input next to it, example: `-yourFlag <value-input>` ,
They are annotations that can be used on all levels (classes, methods and parameters).
There is currently two built-in annotations of that type which are :-
- `@Permission` -> specifies the permission of a command/usage/parameter(for tab-completion).
- `@Descriptiton` -> specifies the description of a command/usage/parameter(for tab-completion).
- `@Description` -> specifies the description of a command/usage/parameter(for tab-completion).
## Example
Here's an example of a command that uses some of the features mentioned above.
```java
Expand Down

0 comments on commit 00be3f4

Please sign in to comment.