lib/ClarID/Tools.pm

filter: Statementstmt 100% 16 / 16 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 4 / 4 Podpod n/a totaltotal 100% 20 / 20 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« lib/ClarID/Tools/Command/validate.pm ↑ Summary
1 package ClarID::Tools;
2  
3 55 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 55 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
5 55 ▶use File::ShareDir::ProjectDistDir qw(dist_dir);
Subroutine BEGIN: called CC=1 SCAR=0.0
6  
7 # This turns ClarID::Tools into an App::Cmd “app”
8 55 ▶use App::Cmd::Setup -app;
Subroutine BEGIN: called CC=1 SCAR=0.0
9  
10 # Central version for your entire CLI suite
11 55 our $VERSION = '0.05';
12 55 our @SUPPORTED_CODEBOOK_VERSIONS = qw(0.02 0.03 0.04);
13  
14 # Share dir
15 55 our $share_dir = dist_dir('ClarID-Tools');
16  
17 55 1;
18  
19 =pod
20  
21 =head1 NAME
22  
23 ClarID::Tools - ClarID: A Human-Readable and Compact Identifier Specification for Biomedical Metadata Integration
24
25 =head1 DESCRIPTION
26  
27 We recommend using the included L<command-line interface|https://metacpan.org/dist/ClarID-Tools/view/bin/clarid-tools>.
28  
29 For a better description, please read the following documentation:
30  
31 =over
32  
33 =item General:
34  
35 L<https://cnag-biomedical-informatics.github.io/clarid-tools>
36  
37 =item Command-Line Interface:
38  
39 L<https://github.com/CNAG-Biomedical-Informatics/clarid-tools#readme>
40  
41 =back
42  
43 =head1 CITATION
44  
45 The author requests that any published work that utilizes C<ClarID-Tools> includes a cite to the following reference:
46  
47 Rueda, M. and Gut, I.G. (2026). ClarID: a human-readable and compact
48 identifier specification for biomedical metadata integration.
49 I<Journal of Biomedical Semantics> 17, 9.
50 L<https://doi.org/10.1186/s13326-026-00349-6>.
51  
52  
53 =head1 AUTHOR
54  
55 Written by Manuel Rueda, PhD. Info about CNAG can be found at L<https://www.cnag.eu>.
56  
57 =head1 COPYRIGHT
58  
59 This PERL file is copyrighted. See the LICENSE file included in this distribution.
« lib/ClarID/Tools/Command/validate.pm ↑ Summary