smithfarm / dochazka-cli

Dochazka CLI client
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

Implement GENERATE REPORT command #19

Closed smithfarm closed 8 years ago

smithfarm commented 8 years ago

It will do the POST genreport REST call, write the payload to a temporary file ending in .html extension. Then it will call xdg-open on that file.

This introduces a dependency on the xdg-utils package.

smithfarm commented 8 years ago

Version 0.220 has a GENERATE REPORT command for generating reports from arbitrary Mason components.

Version 0.221 has a set of INTERVAL REPORT commands that call the suse-cz-monthly.mc Mason component to generate employee monthly payroll reports.

The output of both commands is written to a temporary file and this file is then opened using xdg-open. Tested; works fine.

smithfarm commented 8 years ago

Added xdg-utils and other dependencies to the spec file in OBS.