cwmoss/final-cli

There is no license information available for the latest version (v0.82) of this package.

Maintainers

Package info

github.com/cwmoss/final-cli

pkg:composer/cwmoss/final-cli

Statistics

Installs: 2

Dependents: 1

Suggesters: 0

Stars: 0

Open Issues: 0

v0.82 2026-04-10 20:04 UTC

This package is auto-updated.

Last update: 2026-04-13 12:22:15 UTC


README

use types and naming conventions

// required argument
string $_input_file => <input-file>

// optional argument
?string $_input_file=null => [input-file]

// optional flag
bool $force => --force

// option with required value
string $in => --in <in>

// option with required value
string $i => -i <option>

// option with short alias with required value
#[alias("i")]
string $in => -i|--in <in>

// option with required value and documented name
string $in__input_file => --in <input-file>

// option with optional value and documented name
string $in__input_file="/dev/null" => --in [input-file] default: /dev/null

use attributes

#[cli("input-file")]
string $inp => <input-file>

#[cli("-i --input input-file")]
string $inp => -i|--input=<input-file>