Codebase list cme / 9709bfe
Update upstream source from tag 'upstream/1.030' Update to upstream version '1.030' with Debian dir 7a9a1dc788c5d4016603de1455b768d3d78ae99e Dominique Dumont 4 years ago
22 changed file(s) with 54 addition(s) and 50 deletion(s). Raw diff Collapse all Expand all
2626 "Dominique Dumont"
2727 ],
2828 "dist_name" => "App-Cme",
29 "dist_version" => "1.029",
29 "dist_version" => "1.030",
3030 "license" => "lgpl",
3131 "module_name" => "App::Cme",
3232 "recommends" => {
55 to improve documentation.
66
77 Feel free to ask questions by sending a mail to
8 [config-model-user mailing list](mailto:config-model-users@lists.sourceforge.net)
8 [the author](mailto:ddumont@cpan.org)
99
1010 ## Log a bug ##
1111
4545 * commit all files: `git add -A ; git commit -m"committed all"`
4646 * edit files
4747 * run `prove -l t` to run non-regression tests
48 * run `git diff` and send the output on [config-model-user mailing list](mailto:config-model-users@lists.sourceforge.net)
48 * run `git diff` and send the output to the [author](mailto:ddumont@cpan.org)
4949
5050
5151 ## Edit source code from Debian source package or CPAN tarball ##
5959 * commit all files: `git add -A ; git commit -m"committed all"`
6060 * edit files
6161 * run `prove -l t` to run non-regression tests
62 * run `git diff` and send the output on [config-model-user mailing list](mailto:config-model-users@lists.sourceforge.net)
62 * run `git diff` and send the output to the [author](mailto:ddumont@cpan.org)
6363
6464 ## Provide feedback ##
6565
0 1.030 2019-09-11
1
2 Improve output of cme:
3 * show more information when running "cme help"
4
05 1.029 2018-08-20
16
27 Bug fixes:
7373 "web" : "http://github.com/dod38fr/cme-perl"
7474 }
7575 },
76 "version" : "1.029",
77 "x_generated_by_perl" : "v5.26.2",
78 "x_serialization_backend" : "Cpanel::JSON::XS version 4.04"
76 "version" : "1.030",
77 "x_generated_by_perl" : "v5.28.1",
78 "x_serialization_backend" : "Cpanel::JSON::XS version 4.12"
7979 }
8080
4444 bugtracker: https://github.com/dod38fr/cme-perl/issues
4545 homepage: https://github.com/dod38fr/config-model/wiki
4646 repository: https://github.com/dod38fr/cme-perl.git
47 version: '1.029'
48 x_generated_by_perl: v5.26.2
47 version: '1.030'
48 x_generated_by_perl: v5.28.1
4949 x_serialization_backend: 'YAML::Tiny version 1.73'
3434
3535 =head1 VERSION
3636
37 version 1.029
37 version 1.030
3838
3939 =head1 SYNOPSIS
4040
400400 L<example from OpenSsh|https://github.com/dod38fr/config-model/wiki/New-parameter-for-openssh-example>
401401 to learn how to fix a model.
402402
403 =head1 SUPPORT
404
405 For support, please check the following resources:
403 =head1 FOR MORE INFORMATION
404
405 For more informations, please check:
406406
407407 =over
408408
409409 =item *
410410
411 The config-model users mailing list:
412
413 config-model-users at lists.sourceforge.net
411 config-model wiki: L<http://github.com/dod38fr/config-model/wiki>
414412
415413 =item *
416414
417 The config-model wiki: L<http://github.com/dod38fr/config-model/wiki>
415 Blogs about this project: L<https://ddumont.wordpress.com/category/perl/configmodel/>
418416
419417 =back
420418
99 # ABSTRACT: Check the configuration of an application
1010
1111 package App::Cme::Command::check ;
12 $App::Cme::Command::check::VERSION = '1.029';
12 $App::Cme::Command::check::VERSION = '1.030';
1313 use strict;
1414 use warnings;
1515 use 5.10.1;
8686
8787 =head1 VERSION
8888
89 version 1.029
89 version 1.030
9090
9191 =head1 SYNOPSIS
9292
99 # ABSTRACT: Dump the configuration of an application
1010
1111 package App::Cme::Command::dump ;
12 $App::Cme::Command::dump::VERSION = '1.029';
12 $App::Cme::Command::dump::VERSION = '1.030';
1313 use strict;
1414 use warnings;
1515 use 5.10.1;
103103
104104 =head1 VERSION
105105
106 version 1.029
106 version 1.030
107107
108108 =head1 SYNOPSIS
109109
99 # ABSTRACT: Edit the configuration of an application
1010
1111 package App::Cme::Command::edit ;
12 $App::Cme::Command::edit::VERSION = '1.029';
12 $App::Cme::Command::edit::VERSION = '1.030';
1313 use strict;
1414 use warnings;
1515 use 5.10.1;
123123
124124 =head1 VERSION
125125
126 version 1.029
126 version 1.030
127127
128128 =head1 SYNOPSIS
129129
99 # ABSTRACT: Fix the configuration of an application
1010
1111 package App::Cme::Command::fix ;
12 $App::Cme::Command::fix::VERSION = '1.029';
12 $App::Cme::Command::fix::VERSION = '1.030';
1313 use strict;
1414 use warnings;
1515 use 5.10.1;
7979
8080 =head1 VERSION
8181
82 version 1.029
82 version 1.030
8383
8484 =head1 SYNOPSIS
8585
99 # ABSTRACT: Edit the configuration of an application with fuse
1010
1111 package App::Cme::Command::fusefs ;
12 $App::Cme::Command::fusefs::VERSION = '1.029';
12 $App::Cme::Command::fusefs::VERSION = '1.030';
1313 use strict;
1414 use warnings;
1515 use 5.10.1;
108108
109109 =head1 VERSION
110110
111 version 1.029
111 version 1.030
112112
113113 =head1 SYNOPSIS
114114
99 # ABSTRACT: Generates pod doc from model files
1010
1111 package App::Cme::Command::gen_class_pod ;
12 $App::Cme::Command::gen_class_pod::VERSION = '1.029';
12 $App::Cme::Command::gen_class_pod::VERSION = '1.030';
1313 use strict;
1414 use warnings;
1515 use 5.10.1;
4848
4949 =head1 VERSION
5050
51 version 1.029
51 version 1.030
5252
5353 =head1 SYNOPSIS
5454
99 # ABSTRACT: List applications handled by cme
1010
1111 package App::Cme::Command::list ;
12 $App::Cme::Command::list::VERSION = '1.029';
12 $App::Cme::Command::list::VERSION = '1.030';
1313 use strict;
1414 use warnings;
1515 use 5.10.1;
6666
6767 =head1 VERSION
6868
69 version 1.029
69 version 1.030
7070
7171 =head1 SYNOPSIS
7272
99 # ABSTRACT: Migrate the configuration of an application
1010
1111 package App::Cme::Command::migrate ;
12 $App::Cme::Command::migrate::VERSION = '1.029';
12 $App::Cme::Command::migrate::VERSION = '1.030';
1313 use strict;
1414 use warnings;
1515 use 5.10.1;
6969
7070 =head1 VERSION
7171
72 version 1.029
72 version 1.030
7373
7474 =head1 SYNOPSIS
7575
99 # ABSTRACT: Modify the configuration of an application
1010
1111 package App::Cme::Command::modify ;
12 $App::Cme::Command::modify::VERSION = '1.029';
12 $App::Cme::Command::modify::VERSION = '1.030';
1313 use strict;
1414 use warnings;
1515 use 5.10.1;
8080
8181 =head1 VERSION
8282
83 version 1.029
83 version 1.030
8484
8585 =head1 SYNOPSIS
8686
99 # ABSTRACT: Run a cme script
1010
1111 package App::Cme::Command::run ;
12 $App::Cme::Command::run::VERSION = '1.029';
12 $App::Cme::Command::run::VERSION = '1.030';
1313 use strict;
1414 use warnings;
1515 use 5.10.1;
250250 }
251251
252252 package App::Cme::Run::Var;
253 $App::Cme::Run::Var::VERSION = '1.029';
253 $App::Cme::Run::Var::VERSION = '1.030';
254254 require Tie::Hash;
255255
256256 our @ISA = qw(Tie::ExtraHash);
277277
278278 =head1 VERSION
279279
280 version 1.029
280 version 1.030
281281
282282 =head1 SYNOPSIS
283283
99 # ABSTRACT: Search the configuration of an application
1010
1111 package App::Cme::Command::search ;
12 $App::Cme::Command::search::VERSION = '1.029';
12 $App::Cme::Command::search::VERSION = '1.030';
1313 use strict;
1414 use warnings;
1515 use 5.10.1;
8484
8585 =head1 VERSION
8686
87 version 1.029
87 version 1.030
8888
8989 =head1 SYNOPSIS
9090
99 # ABSTRACT: Edit the configuration of an application with a shell
1010
1111 package App::Cme::Command::shell ;
12 $App::Cme::Command::shell::VERSION = '1.029';
12 $App::Cme::Command::shell::VERSION = '1.030';
1313 use strict;
1414 use warnings;
1515 use 5.10.1;
7676
7777 =head1 VERSION
7878
79 version 1.029
79 version 1.030
8080
8181 =head1 SYNOPSIS
8282
99 # ABSTRACT: Update the configuration of an application
1010
1111 package App::Cme::Command::update ;
12 $App::Cme::Command::update::VERSION = '1.029';
12 $App::Cme::Command::update::VERSION = '1.030';
1313 use strict;
1414 use warnings;
1515 use 5.10.1;
9090
9191 =head1 VERSION
9292
93 version 1.029
93 version 1.030
9494
9595 =head1 SYNOPSIS
9696
99 #ABSTRACT: Common methods for App::Cme
1010
1111 package App::Cme::Common;
12 $App::Cme::Common::VERSION = '1.029';
12 $App::Cme::Common::VERSION = '1.030';
1313 use strict;
1414 use warnings;
1515 use 5.10.1;
239239 my $sections = $pom->head1();
240240 my @ret ;
241241 foreach my $s (@$sections) {
242 push (@ret ,$s) if $s->title() =~ /DESCRIPTION|EXIT/;
242 push (@ret ,$s) if $s->title() =~ /DESCRIPTION|USAGE|OPTIONS|EXIT/;
243243 }
244244 return join ("", map { Pod::POM::View::Text->print($_)} @ret) . "Options:\n";;
245245 }
258258
259259 =head1 VERSION
260260
261 version 1.029
261 version 1.030
262262
263263 =head1 SYNOPSIS
264264
77 # The GNU Lesser General Public License, Version 2.1, February 1999
88 #
99 package App::Cme ;
10 $App::Cme::VERSION = '1.029';
10 $App::Cme::VERSION = '1.030';
1111 use strict;
1212 use warnings;
1313 use 5.10.1;
3232
3333 =head1 VERSION
3434
35 version 1.029
35 version 1.030
3636
3737 =head1 AUTHOR
3838
241241
242242
243243 # test cme run real script with arguments
244 my $i=0;
244245 foreach my $test ( @script_tests) {
245246 subtest $test->{label} => sub {
246 my $script = $wr_dir->child('my-script.cme');
247 my $script = $wr_dir->child('my-script'.$i++.'.cme');
247248 $script->spew_utf8( map { "$_\n"} @{$test->{script}});
248249
249250 my $cmd = [