klmr / klmr/sys

Add optional `type` argument to `arg` and `opt`

Open
#17 0 comments 0 reactions 1 assignee Claimed by @klmr View on GitHub
enhancement
Dominant language
R
Stars
13
Forks
1
PR merge metrics
No merged PRs in 30d

Description

At the moment, the type of an argument is `character` unless a value of another type is set as the default argument. Arguments that don’t have a default value cannot specify a type. This means that
1. The command line parser cannot check the type.
2. The user has to coerce the type manually as necessary.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.