Skip to content

n0s4/flags

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

flags

An effortless command-line argument parser for Zig.

Features

  • Zero allocations.
  • Declaratively define your command as a plain Zig type.
  • Single-function API.
  • Multi-level subcommands.
  • Automatic help message generation at comptime.

Getting Started

See the examples for basic usage.

Check out the import guide to get set up using flags in your project.