NAME
idoit-manufacturers - get i-doit manufacturers
VERSION
version 0.4.1
SYNOPSIS
idoit-manufacturers [ options ]
options:
--config path - read configuration from file at given path
--csv - output as CSV
--help - show a short help text and exit
--json - output as JSON
--list - list manufacturers
--man - show the full man page and exit
--pretty - show readable JSON output
--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.
--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.
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.