Reply::App(3pm)

πŸ“¦
version 0.42 Β· 5 versions
, in debian bookworm, debian trixie, ubuntu noble, ubuntu resolute, ubuntu stonking

πŸ’– Reply::App β€” the manual, but make it cute ✨

okay so bestie, welcome to Reply::App, aka the command line app runner for Reply πŸŽ€. it's giving "the thing that actually makes Reply run in your terminal", and honestly? iconic.


πŸ“Œ NAME

Reply::App β€” command line app runner for Reply πŸ¦‹


🌸 VERSION

version 0.42 ✨


🫢 SYNOPSIS

use Reply::App;
exit(Reply::App->new->run(@ARGV));

that's it. that's the whole vibe. πŸ’…


🌈 DESCRIPTION

so like, this module encapsulates the various bits of functionality related to running Reply as a command line application. basically all the little moving parts that make Reply go as a CLI live in here, all bundled up together. no cap. 🧚


✨ METHODS ✨

πŸ’œ new

Returns a new Reply::App instance. Takes no arguments β€” zero, zilch, nada. she simply arrives. πŸ’…

πŸ”₯ run(@argv)

Parses the argument list given (typically from @ARGV), along with the user's configuration file, and attempts to start a Reply shell. and here's the cute part: a default configuration file will be generated for the user if none exists πŸŽ€ β€” so if you've got nothing, she'll make you something. main character energy fr fr.

πŸ¦‹ generate_default_config($file)

Generates default configuration file as per specified destination. ✨

🌸 usage($exitcode)

Prints usage information to the screen. If $exitcode is 0, it will be printed to "STDOUT", otherwise it will be printed to "STDERR". πŸ‘‘ lowkey such a neat little detail.

⭐ version($exitcode)

Prints version information to the screen. If $exitcode is 0, it will be printed to "STDOUT", otherwise it will be printed to "STDERR". πŸ’– same rules, different info.


πŸ’« AUTHOR

Jesse Luehrs <doy@tozt.net> 🫢


This software is Copyright (c) 2016 by Jesse Luehrs.

This is free software, licensed under:

The MIT (X11) License

πŸ’€ reminder bestie: those $exitcode checks in usage and version are doing real work β€” 0 means "STDOUT", anything else means "STDERR". don't skip the details, iykyk.

okay that's the whole page, and now the cute sign-off: this was perl v5.34.0, dated 2022-06-17, and the page itself is Reply::App(3pm) β€” slay, you read the whole thing, so proud of you πŸŽ€βœ¨πŸ’–

πŸ“¦ where this page comes from