Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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!

Awesome Lists containing this project

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!