Need to write a Perl script? How about a Ruby, Python, or C file?
You know it’s not a hard task per say, but do you really want to create the file, enter the standard system variables, your personalized template, and change permissions all in separate steps? You’re already on your way to typing a whole lot more, assuming you are generating this file to code your new idea off course …
So, how about just entering the file name to create an executable file that contains all your usual pragmas, imports, etc…so you can begin coding right away? Meet Scripter.
Scripter
Automate script template files: Perl, Ruby, Python, C
Need to write a Perl script? How about Ruby, Python, or C?
Scripter is an easy to use utility that generates a template file for Perl, Ruby, Python, and C files. It automatically populates with pre-defined text (you can alter to your likings and needs), setting you up and ready to actually start coding.
Get Scripter
git clone https://github.com/bretonics/scripter.git
Add To Path
Add scripter to your $PATH
variable so you can call it from any location.
cd scripter
ln -s $PWD/scripter.pl /usr/local/bin/scripter
Diminish Those Extra Keystrokes
Simply call scripter: $ scripter myPerlFile.pl
In this example, the program will create a perl file named myPerlFile.pl in the current directory where it was run.
License
Under the following licence.
Latest Issues
- open#4 Runthrough
- closed#3 Change FH to lexical
- closed#2 Features
- closed#1 File overwrite
Pull Requests
Developer | Bioinformatician – Decoding the world, one line at a time.
Highly motivated developer predominantly working in Linux and developing software tools. All about open source software and fascinated by working with multitudes of technologies and languages. Striving to make a positive impact in this world.