| 1 | # ABSTRACT: force a package to stay in a stack | ||
| 2 | |||
| 3 | package App::Pinto::Command::pin; | ||
| 4 | |||
| 5 | 1 | ▶ | use strict; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 6 | 1 | ▶ | use warnings; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 7 | |||
| 8 | #------------------------------------------------------------------------------ | ||
| 9 | |||
| 10 | 1 | ▶ | use base 'App::Pinto::Command'; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 11 | |||
| 12 | #------------------------------------------------------------------------------ | ||
| 13 | |||
| 14 | 1 | our $VERSION = '0.14'; # VERSION | |
| 15 | |||
| 16 | #----------------------------------------------------------------------------- | ||
| 17 | |||
| 18 | 0 | ▶ | sub opt_spec { |
|
Subroutine
opt_spec: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 19 | 0 | my ( $self, $app ) = @_; | |
| 20 | |||
| 21 | return ( | ||
| 22 | 0 | [ 'diff-style=s' => 'Set style of diff reports' ], | |
| 23 | [ 'dry-run' => 'Do not commit any changes' ], | ||
| 24 | [ 'message|m=s' => 'Message to describe the change' ], | ||
| 25 | [ 'stack|s=s' => 'Pin targets to this stack' ], | ||
| 26 | [ 'use-default-message|M' => 'Use the generated message' ], | ||
| 27 | ); | ||
| 28 | } | ||
| 29 | |||
| 30 | #------------------------------------------------------------------------------ | ||
| 31 | |||
| 32 | 0 | ▶ | sub args_attribute { return 'targets' } |
|
Subroutine
args_attribute: not called CC=1 SCAR=6.9
Pod
undocumented
| |||
| 33 | |||
| 34 | #------------------------------------------------------------------------------ | ||
| 35 | |||
| 36 | 0 | ▶ | sub args_from_stdin { return 1 } |
|
Subroutine
args_from_stdin: not called CC=1 SCAR=6.9
Pod
undocumented
| |||
| 37 | |||
| 38 | #------------------------------------------------------------------------------ | ||
| 39 | |||
| 40 | 1 | 1; | |
| 41 | |||
| 42 | __END__ | ||