Skip to content

Latest commit

 

History

History
32 lines (23 loc) · 1.25 KB

README.md

File metadata and controls

32 lines (23 loc) · 1.25 KB

Helium


GitHub Actions Workflow Status Codecov (with branch) Go Report Card GitHub License GitHub go.mod Go version (branch)

Lightweight library to build command-line application (single-command app yet).

Features

  • Supported flag value types:

    • string
    • int, int[8,16,32,64]
    • uint, uint[8,16,32,64]
    • float[32,64]
    • time.Duration
    • bool
    • counter (which has value of type int under the hood)
    • slices of all types in above, except counter
  • Allows to create custom-typed (generic) flags with user-defined input parser (see example).

  • Allows to override default parser for built-in flag types.

Future plans

  • Add help/usage rendering for flag set
  • Add Command type to allow multi-command applications