Skip to content

Initial Release v0.0.1#1

Merged
BlueSquare23 merged 15 commits intomasterfrom
dev-v0.0.1
Mar 13, 2026
Merged

Initial Release v0.0.1#1
BlueSquare23 merged 15 commits intomasterfrom
dev-v0.0.1

Conversation

@BlueSquare23
Copy link
Copy Markdown
Owner

No description provided.

* Aka make sure non-required args are actually not required.
* Moved the POD block to the top (before the use statements).
* Split the constructor docs into a proper `=head1 CONSTRUCTOR` section with
  nested `=over`/`=back` for each argument, including the sub-keys of
  `cmd_schema`.
* Added a dedicated `=head1 METHODS` section for `run()` and `validate_args()`.
* Added a `=head1 BUILT-IN COMMANDS` section documenting help and quit/exit.
* Added a `=head1 TAB COMPLETION` section.
* `Validate_args` / `new()` tests check that all the croak paths fire correctly
  missing name, missing cmd_schema, wrong types for cmd_schema, exec, args, and
  get_opts. There's also a positive check that a valid get_opts coderef is
  accepted without error.
* `Construction` sanity checks verify the object is the right class, that the
  help and quit builtins get injected, and that prompt handling (default and
  custom) works as expected.
* `_tab_complete` tests use a single shared $repl instance at the bottom to avoid
  reconstructing it repeatedly. They cover command name completion, partial arg
  completion, no-match cases, and the passthrough ! exclusion.
* Add a `=head1 LICENSE` section to the POD
* Add a `=head1 DESCRIPTION` section
* Yeah dunno how that slipped in there, I probably just copied and pasted a
  bunch of imports from somewhere else and that got left.
@BlueSquare23 BlueSquare23 merged commit 56c8f03 into master Mar 13, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant