From 458cf889e6ed331d9e5084cf8e199166ce983286 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Tue, 16 May 2017 15:48:34 +0200 Subject: autogenerate simple models (without args or parameters) from AC++ attributes --- bin/dfatool | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'bin') 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; }, -- cgit v1.2.3