aboutsummaryrefslogtreecommitdiffhomepage
path: root/crates/shirabe/src/command/init_command.rs
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2026-08-16 09:27:35 +0900
committernsfisis <nsfisis@gmail.com>2026-08-16 09:27:35 +0900
commit05c38483041fb416ae1293a6579bb7c49b4e6954 (patch)
tree5758387cd500cee053db3767461bdfb6550fcae2 /crates/shirabe/src/command/init_command.rs
parent4a48e0e954b7afda55ff0419e091790b5b7b9f64 (diff)
downloadphp-shirabe-05c38483041fb416ae1293a6579bb7c49b4e6954.tar.gz
php-shirabe-05c38483041fb416ae1293a6579bb7c49b4e6954.tar.zst
php-shirabe-05c38483041fb416ae1293a6579bb7c49b4e6954.zip
refactor(style): type SymfonyStyle messages as strings and cells
SymfonyStyle modelled PHP's string|array message parameters, its array of listing elements and its table headers/rows as PhpMixed, then normalised and stringified them at every entry point. Take &[String] for the message and listing parameters, Vec<Cell>/Vec<Row> for table (matching the horizontal_table signature) and Vec<String> for the choice options, so the is_array/is_iterable normalisation and the php_string helper both go away. PhpMixed stays where PHP is genuinely mixed: the question answers returned by ask/ask_hidden/choice, their validators, choice's string|int|null default, and the progress_iterate elements. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Diffstat (limited to 'crates/shirabe/src/command/init_command.rs')
0 files changed, 0 insertions, 0 deletions