added reporter documentation to mig
authorRogan Hamby <rhamby@esilibrary.com>
Thu, 8 Feb 2018 19:49:25 +0000 (14:49 -0500)
committerRogan Hamby <rhamby@esilibrary.com>
Thu, 8 Feb 2018 19:49:25 +0000 (14:49 -0500)
mig

diff --git a/mig b/mig
index 914b247..3fa227f 100755 (executable)
--- a/mig
+++ b/mig
@@ -63,6 +63,8 @@ Using B<mig> should go something like this:
 
 =item mig write_prod patrons.tsv # creates a .sql file for pushing the staging data into production
 
+=item mig reporter --analyst "Foo Fooer" --report_title "Foo Load Analysis" #creates an asciidoc report
+
 =back
 
 =head1 COMMANDS
@@ -230,6 +232,27 @@ all such files if no file is specified.
 
 A wrapper around the psql command.  At some point the plan is to shove mig-tracked variables into psql sessions.
 
+=item B<reporter> --analyst "Analyst Name" --report_title "Report Title"
+
+Generates an asciidoc file in the git working directory that can be converted to 
+any appropriate format.  The analyst and report parameters are required.
+
+Optional parameters are : 
+
+--added_page_title and --added_page_file 
+
+If one is used both must be.  The added page file can be plain text or asciidoc.  This
+adds an extra arbitrary page of notes to the report.
+
+--tags
+
+This will define a set of tags to use, if not set it will default to Circs, 
+Holds, Actors, Bibs, Assets & Money. 
+
+--reports_xml 
+
+Allows you to override the default evergreen_staged_report.xml in the mig-xml folder.
+
 =back
 
 =cut