#cli #macro #main #parser

macro kommand

Command-line arguments via function arguments

11 breaking releases

0.15.1 Jan 11, 2024
0.15.0 Jun 30, 2023
0.14.0 Jun 29, 2023
0.13.0 Mar 29, 2023
0.0.0 Feb 20, 2021

#3 in #paw

Download history 14/week @ 2023-11-04 1/week @ 2023-11-11 1/week @ 2023-11-18 26/week @ 2023-11-25 36/week @ 2023-12-02 5/week @ 2023-12-09 15/week @ 2023-12-16 24/week @ 2023-12-23 12/week @ 2023-12-30 31/week @ 2024-01-06 9/week @ 2024-01-13 10/week @ 2024-01-20 28/week @ 2024-01-27 1/week @ 2024-02-03 55/week @ 2024-02-10 213/week @ 2024-02-17

297 downloads per month

Apache-2.0…

31KB
569 lines

kommand

Command-line arguments via function arguments

Github Actions CI Status crates.io page docs.rs docs

This is a command-line parser similar to [paw] but which allows arguments to be given as function arguments rather than as struct fields.

See nameless for examples.

Dependencies

~2.5MB
~57K SLoC