lib/App/Sandy/Command/Citation.pm

filter: Statementstmt 100% 3 / 3 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 1 / 1 Podpod n/a totaltotal 100% 4 / 4 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
CRAP 1.0
« lib/App/Sandy/CLI/Command.pm ↑ Summary lib/App/Sandy/Command/Expression.pm »
1 package App::Sandy::Command::Citation;
2 # ABSTRACT: citation command class. Print citation
3  
4 1 ▶use App::Sandy::Base 'class';
Subroutine BEGIN: called CC=1 SCAR=0.0
5  
6 extends 'App::Sandy::CLI::Command';
7  
8 our $VERSION = '0.25'; # VERSION
9  
10 sub validate_args {
11 my ($self, $args) = @_;
12 die "Too many arguments: '@$args'\n" if @$args;
13 }
14  
15 sub execute {
16 print <<'EOP';
17 You can cite all versions by using the following DOI:
18  
19 Thiago Miller. (2018, May 6).
20 galantelab/sandy: A straightforward and complete next-generation sequencing read simulator.
21 Zenodo. http://doi.org/10.5281/zenodo.1241587
22  
23 BibTeX:
24  
25 @misc{thiago_miller_sandy,
26 author = {Thiago Miller},
27 title = {galantelab/sandy: A straightforward and complete next-generation sequencing read simulator},
28 month = may,
29 year = 2018,
30 doi = {10.5281/zenodo.1241587},
31 url = {https://doi.org/10.5281/zenodo.1241587}
32 }
33  
34 This DOI represents all versions, and will always resolve to the latest one.
35 If you want to cite a specific version, please point to https://zenodo.org/record/1241587
36  
37 EOP
38 }
39  
40 __END__
« lib/App/Sandy/CLI/Command.pm ↑ Summary lib/App/Sandy/Command/Expression.pm »