NAME
idoit-reports - get i-doit reports
VERSION
version 0.4.1
SYNOPSIS
idoit-reports [ options ] [ report-number ]
options:
--config path - read configuration from file at given path
--help - show a short help text and exit
--man - show the full man page and exit
--version - show the version and exit
OPTIONS AND ARGUMENTS
Options
--config path
Read configuration values from a file found at the given path.
This file should contain lines a key and a value separated by equal sign (=) or colon (:). The key and the value may be enclosed in single (') or double (") quotation marks. Leading and trailing white space is removed as well as a comma (,) at the the end of the line.
The program needs the following keys in the file:
- key
-
The API key for i-doit.
- url
-
The URL of the i-doit instance.
- username
-
The username for the login (optional).
- password
-
The password for the login (optional).
--help / -?
The program shows a short help text and exits.
--man
The program shows this man page and exits.
--csv
The report is printed as CSV. Columns are sorted alphabetically.
--json
The report is printed as JSON.
--pretty
Given together with option --json
, the output is printed as readable formatted JSON.
--version
The program shows its version and exits.
Arguments
The program accepts one argument, the number of the report to get.
If this argument is omitted, the program gets the list of all available reports.
AUTHOR
Mathias Weidner mamawe@cpan.org
LICENCE AND COPYRIGHT
Copyright (c) 2023, Mathias Weidner mamawe@cpan.org
. All rights reserved.
This software is free software; you can redistribute it and/or modify it under the same terms as Perl itself. See perlartistic.