App::VTide::Command::Run - Run a terminal command
This documentation refers to App::VTide::Command::Run version 0.1.6
vtide run [(-n|--name) project] [--test] terminal vtide run [--help|--man] OPTIONS: -n --name[=]str The name of the terminal to run -T --test Test the running of the terminal (shows the commands that would be executed) -v --verbose Show more verbose output. --help Show this help --man Show full documentation
The run command runs a terminal with what ever is configured for that terminal. A full description of the terminal configuration can be found in "terminals" in App::VTide::Configuration.
run
run ()
Runs the terminal command
restart ( $cmd )
Checks if the terminal command should be restarted on exit (and asks if it should)
params ( $cmd )
Gets the configuration for the command $cmd
$cmd
command ( $params )
Gets the command to execute, either a simple command or an "editor" command where the files are got from the groups
command_param ( $params )
Processes any found user parameters
_shell_quote ( $file )
Quote $file for shell execution
$file
load_env ( %env )
Put the values of %env into the %ENV variable.
runit ( @cmd )
Executes a command (with --test skipping)
watch ( $cmd )
Watches files till they change then returns.
auto_complete ()
Auto completes terminal names
details_sub ()
Returns the commands details.
Track first run vs later runs (for things like waiting)
run_running ($cmd)
Called just before execution, the command that will be executed is passed and can be modified.
There are no known bugs in this module.
Please report problems to Ivan Wills (ivan.wills@gmail.com).
Patches are welcome.
Ivan Wills - (ivan.wills@gmail.com)
Copyright (c) 2016 Ivan Wills (14 Mullion Close, Hornsby Heights, NSW Australia 2077). All rights reserved.
This module is free software; you can redistribute it and/or modify it under the same terms as Perl itself. See perlartistic. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
To install App::VTide, copy and paste the appropriate command in to your terminal.
cpanm
cpanm App::VTide
CPAN shell
perl -MCPAN -e shell install App::VTide
For more information on module installation, please visit the detailed CPAN module installation guide.