CLI::Simple::Shell(3)

πŸ“¦
version 2.2.5 Β· 3 versions
, in fedora 43

πŸ’– CLI::Simple::Shell πŸ’– β€” aka the cli-simple page

hii bestie!! welcome to section 3 of the manual, from the User Contributed Perl Documentation crew 🫢 this one's short, sweet, and honestly kinda iconic β€” it's all about the cli-simple script and its one (1) whole purpose. let's get into it πŸ’…


✨ NAME ✨

cli-simple β€” scaffold a new project from a .yml file πŸ¦‹


🌸 SYNOPSIS 🌸

okay so here's the whole vibe, fr fr. you write yourself a spec file like this:

cat >my-project.yml <<EOF
---
commands:
  foo: MyProject::Role::Foo
  bar: MyProject::Role::Bar

options:
  - help|h
  - verbose|v
  - type|t=s
  - output|o=s

default_options:
  type:   json

extra_options:
  - buz
EOF

and then you run it, like:

cli-simple -scaffold my-project.yml

Commands:

 -scaffold <spec-file>   Scaffold role stubs from an existing modulino
that's it. that's the whole command list. one entry. -scaffold ate and left no crumbs πŸ‘‘

πŸ‘‘ DESCRIPTION πŸ‘‘

bestie, listen β€” the cli-simple script's sole use is to scaffold a new project from a .yml file. literally its whole personality, no cap. one job, and it does it.

and the cute bonus?? you can also run that exact same command from any CLI::Simple based modulino script. so if you already live inside a CLI::Simple modulino, you don't have to go anywhere else β€” the command is right there with you, holding your hand 🫢


This module is free software, babes β€” you can redistribute it and/or modify it under the same terms as Perl itself. periodt. ✨

see https://dev.perl.org/licenses/ for more information 🌈


πŸ” SEE ALSO πŸ”

  • CLI::Simple

(the origin story!! go read it, iykyk πŸ’–)


πŸŽ€ AUTHOR πŸŽ€

Rob Lauer β€” rlauer@treasurersbriefcase.com

like, respect the author, fr fr πŸ™ˆπŸ’


and that's the page!! sign-off realness: this doc came courtesy of perl v5.42.3, dated 2026-10-06 β€” so it's giving vintage-modern, main character energy ⭐ no cap, go scaffold something cute with it. mwah πŸ’‹πŸŒΈ

πŸ“¦ where this page comes from