App::VTide::Command - Base class for VTide sub commands
This documentation refers to App::VTide::Command version 0.1.5
# in a package with the prefix App::VTide::Command:: extends 'App::VTide::Command'; # child class code
App::VTide::Command is the base class for the sub-commands of vtide. It provides helper methods and default attributes for those commands.
App::VTide::Command
vtide
new ( %hash )
See the attributes for the arguments to pass here.
session_dir ( $name )
Get the session directory for $name.
$name
save_session ( $name, $dir )
Save the session and directory in the history file if it is configured. If its not, then the environment variable $VTIDE_DIR is used and failing that falls back to the current directory. The local .vtide.yml is then loaded into the config.
$VTIDE_DIR
.vtide.yml
env ( $name, $dir, $config )
Configure the environment variables based on $name, $dir and $config
$dir
$config
auto_complete ()
Default auto-complete action for sub-commands
_dglob ( $glob )
Gets the files globs from $glob
_globable ( $glob )
Converts a deep blog (e.g. **/*.js) to a series of perl globs (e.g. ['*.js', '*/*.js', '*/*/*.js', '*/*/*/*.js'])
defaults
Values from command line arguments
options
Command line configuration
Reference to parent command with configuration object.
history
History configuration file
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.