The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

StandupGenerator::Manipulator - allows user to easily save shortcuts for this package in their configurations

DESCRIPTION

The Manipulator module contains an auxillary method to make it easy for the user to set up short aliases for the main methods from this package.

METHODS

save_script_shortcuts

This method lets the user easily execute commands from this package via the CLI by editing their configuration file to contain certain shortcuts to key methods. It only takes one parameter:

  • $path -- A string containing the full file path for the directory to store standup files. It should begin with /Users/. It should only ever contain .txt files in the standup format.

Executing the below command in the CLI will add osu, csu, and wsu shortcuts to the user's configurations. As a result, executing any of those will interact with standup files stored in the standups folder within the larger super-important_project folder.

    perl -e 'use StandupGenerator::Manipulator; save_script_shortcuts("/Users/johndoe/projects/super-important-project/standups")'