diff options
author | Daniel Friesel <derf@finalrewind.org> | 2017-05-16 15:48:34 +0200 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2017-05-16 15:48:34 +0200 |
commit | 458cf889e6ed331d9e5084cf8e199166ce983286 (patch) | |
tree | 11f070baffdb5589599d47985655881dc115681c /bin | |
parent | 2531355bd6c7020904e889164efde3a5bb19631f (diff) |
autogenerate simple models (without args or parameters) from AC++ attributes
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/dfatool | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/bin/dfatool b/bin/dfatool index 254a779..a5a53e9 100755 --- a/bin/dfatool +++ b/bin/dfatool @@ -16,6 +16,7 @@ my %opt; GetOptions( \%opt, qw{ + class=s exclude-states=s@ ignore-nested-calls logging! @@ -51,6 +52,7 @@ my ( $command, $xml_file, @data_files ) = @ARGV; my $driver = Kratos::DFADriver->new( cache => $opt{'no-cache'} ? 0 : 1, + class_name => $opt{class}, data_file => $data_files[0], excluded_states => $opt{'exclude-states'} // [], fast_analysis => $opt{'zomg-fasta-nao'} // 0, @@ -74,6 +76,10 @@ my $driver = Kratos::DFADriver->new( ); my %action = ( + autogen => sub { + + # nothing to do + }, clean => sub { $driver->launchpad_log_clean; }, |