NAME
Zuzu::Tidy::CLI - command-line wrapper for Zuzu::Tidy
SYNOPSIS
zuzu-tidy.pl path/to/script.zzs
zuzu-tidy.pl --canonical-operators path/to/script.zzs
zuzu-tidy.pl --in-place path/to/script.zzs
DESCRIPTION
Provides the executable interface for bin/zuzu-tidy.pl. The command reads a ZuzuScript file, formats it via Zuzu::Tidy, and writes to STDOUT by default or updates the file in-place with --in-place.
--canonical-operators rewrites non-canonical operator spellings such as * and |> to canonical forms such as × and ▷. This is opt-in; aliases are preserved by default.
METHODS
run
Parses CLI options, formats the target file, and returns a process exit code.
COPYRIGHT AND LICENCE
Zuzu::Tidy::CLI is copyright Toby Inkster.
It is free software; you may redistribute it and/or modify it under the terms of either the Artistic License 1.0 or the GNU General Public License version 2.
1 POD Error
The following errors were encountered while parsing the POD:
- Around line 119:
Non-ASCII character seen before =encoding in 'C<×>'. Assuming UTF-8