Skip to content

Commit e94e49d

Browse files
committed
docs: correct differences
Signed-off-by: Christian Stewart <[email protected]>
1 parent 28c16b4 commit e94e49d

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

README.md

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,12 @@
99

1010
Key differences from `urfave/cli`:
1111

12-
1. **Reflection-Free:** All features relying on `reflect` have been removed. This makes the library suitable for environments where reflection is undesirable or restricted, potentially improving performance and reducing binary size.
13-
2. **Selective v3 Backports:** Some ergonomic improvements from `urfave/cli` v3 have been incorporated:
14-
* `cli.App` has been renamed to `cli.Command` for better semantic clarity, especially in applications with subcommands. The top-level application is now simply the root `Command`.
15-
* Action handlers (`Action`, `Before`, `After`, etc.) now accept `context.Context` as their first argument, enabling easier integration with context-aware Go applications.
16-
3. **Stability:** We strive to maintain backward compatibility and avoid breaking changes.
12+
1. **Slim and Reflection-Free:**
13+
* Removed `reflect` usage for smaller binaries and better performance.
14+
* Tinygo compatible.
15+
* Removed documentation generators.
16+
* Removed altsrc package to focus on CLI handling only.
17+
2. **Stability:** Try to maintain backward compatibility as much as possible.
1718

1819
## Installation
1920

0 commit comments

Comments
 (0)