App-VTide

 view release on metacpan or  search on metacpan

lib/App/VTide/Configuration.pod  view on Meta::CPAN

       # run a command
       command: ./Build

=head1 DESCRIPTION

The default configuration file C<~/.vtide/default.yml> and the project specific
configuration file C<./.vtide.yml> both have the same format.

=head1 CONFIGURATION ITEMS

=head2 name

String

The name of the project (projects only)

=head2 count

Integer

The number of C<tmux> windows to start

=head2 default

Hash

Default options for terminals. The following is a description of each of it's keys.

=head3 env

Hash

A list of environment variables to set for terminals. You use other environment
variables in the values (e.g. say setting the path you could use C<bin:$PATH>)
but no other expansions are done.

=head3 restart

Bool

If set to a true value the an option to restart will be given

=head2 title

String

This is the text of the terminal title if you want it to be different from the name field.

=head3 wait

Don't instantly start the command/editor wait till enter is pressed.

=head3 split

String

Tells how to split a tmux window into separate panes

e.g.

 Hv (cursor ends up in 1a)
    +--+--+
    |1 |1a|
    |  +--+
    |  |1b|
    +--+--+

  Hv0 (cursor ends up in 1)
    +--+--+
    |1 |1a|
    |  +--+
    |  |1b|
    +--+--+


=head3 watch

List

Specifies a list of files to watch for changes. When found the command is
rerun.

=head3 cron

String

A standard cron time setting

e.g.

  15 8-16 */2 * *

Would run the C<comand> at 15 minutes past the hours 8am to 4pm every second day

=head3 cron_verbose

Truthy

When set to a true value (e.g. C<1> C<true>) will show the time till the next
cron run. This can be helpful for debugging C<cron> issues.

=head3 command

String or List

A command to be run in the terminal

=head3 edit

String or List

A list of files or file groups to run the editor with. If this is specified
the command attribute is ignored.

=head3 heading

This is text to be displayed just before running the terminal. It can be used
for example to remind of the intended purpose of the terminal.

=head2 editor

Hash

Default options for the editor

=head2 terminals

Hash



( run in 0.933 second using v1.01-cache-2.11-cpan-39bf76dae61 )