NAME

OptArgs2::Arg - A class representing a command positional argument

SYNOPSIS

use OptArgs2::Cmd;

my $arg = OptArgs2::Cmd->new(...)->add_arg(
  name     => 'arg_name',
  isa      => 'Str',
  required => 1,
  default  => 'default_value',
);

DESCRIPTION

The OptArgs2::Arg class is internal to OptArgs2.

AUTHOR

Mark Lawrence <mark@rekudos.net>

LICENSE

Copyright 2016-2025 Mark Lawrence <mark@rekudos.net>

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 of the License, or (at your option) any later version.