-
AutorBeiträge
-
-
19. September 2022 um 12:49 Uhr - Views: 537 #13748
Hi everyone
is there an example of a complete command using (i.e.: with argument)
otobo.Console.pl Maint::Config::Dump ?
I am unable to guess which argument I can use with Maint::Config::Dump, and which syntax it needs.
Unfortunately I am not able to find a sample in the manual also :-(
Thank you
Julian
-
19. September 2022 um 13:25 Uhr #13749
Hello Julian,
help for console commands is printed when the option -h is passed.
$ bin/otobo.Console.pl Maint::Config::Dump -h
Dump configuration settings.
Usage:
otobo.Console.pl Maint::Config::Dump nameOptions:
[–help|h] – Display help for this command.
[–no-ansi] – Do not perform ANSI terminal output coloring.
[–quiet] – Suppress informative output, only retain error messages.Arguments:
name – Specify which config setting should be dumped.A sensible example would be:
$ bin/otobo.Console.pl Maint::Config::Dump ACL::CacheTTL
3600Unfortunately the output is not helpful at all for more complex settings:
$ bin/otobo.Console.pl Maint::Config::Dump Loader::Module::AgentTicketProcess
002-ProcessManagement=HASH(0x562abcf20c10);In my opinion this should be changed to print JSON per Default. I have created a feature request for that: https://github.com/RotherOSS/otobo/issues/1948.
Best regards,
Bernhard
-
20. September 2022 um 10:36 Uhr #13760
Thank you BES.
Your examples helped me to understand what kind of ARGUMENT is required.
Now I also understand why I get „not found“ even if the argument is correct.
Thank you again !!!!
Julian
-
-
-
AutorBeiträge
- Du musst angemeldet sein, um auf dieses Thema antworten zu können.