Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ziglibs/zinput
A Zig command-line input library!
https://github.com/ziglibs/zinput
zig zig-package ziglang
Last synced: 26 days ago
JSON representation
A Zig command-line input library!
- Host: GitHub
- URL: https://github.com/ziglibs/zinput
- Owner: ziglibs
- Created: 2020-05-24T19:22:58.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2023-09-17T18:37:06.000Z (about 1 year ago)
- Last Synced: 2024-10-01T03:22:23.095Z (about 1 month ago)
- Topics: zig, zig-package, ziglang
- Language: Zig
- Homepage:
- Size: 25.4 KB
- Stars: 49
- Watchers: 5
- Forks: 6
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-zig - zinputποΈA Zig command-line input library!
README
# zinput
A Zig command-line input library!
- [zinput](#zinput)
- [Usage](#usage)## Usage
```zig
const zinput = @import("zinput");const my_string = try zinput.askString(allocator, "I need a string!", 128);
defer allocator.free(my_string);
```Check out the test in `main.zig` for an example!