Command line interface to cipux task library
version 3.4.0.7
cipux_task_client [OPTION] -t <TASK> -o <OBJECT> [-x|-y <ATTR>=<VALUE>] abbreviations: ATTR = ATTRIBUTE
Options for all commands:
-c | --cfg : cipux-task.conf -D | --debug : print debug messages for developers -h | --help : print help (this message + options) -V | --version : print only version
Options for some commands:
-t | --task : CipUX::Task command -x | --mattrvalue : multiple LDAP attributes, please see description -y | --attrvalue : one LDAP attribute with multible values, please see description
This is option have to be use if a \s-1LDAP\s0 attribute of object has no possibility to search or do not know its own equality. This attributes are rather seldom, nisNetgroupTriple is such an attribute. It is used for clients of netgroups. If you are not sure use --mattrvalue (-x) instaed. If you want to set a values you should provide them like this: --attrvalue <ATTRIBUTE>=<VALUE> If you want to delete all values of that attribute you can just provide: --attrvalue <ATTRIBUTE>
Same as option --cfg.
To specify the configuration file, if any. The default location for the configuration file is: (1) ~/.cipux/cipux-task.yaml or (2) /etc/cipux/cipux-task.yaml If both are missing, you have to use this option --cfg to specify one.
Same as option --debug.
To see more output, what the internals is doing, you can enable the --debug and see more message printed to \s-1STDOUT\s0. The suggestion is not to use debug output for production code.
Same as option --help
Prints brief help message.
This is option have to be use if a \s-1LDAP\s0 object has to be created. This option requires always an attribute and a value. Therefore only this syntax is possible: --mattrvalue <ATTRIBUTE>=<VALUE> The reason for this is to be able to gave the user exact hints when he try to create a object but forget the value. The \*(L"m\*(R" stands for multiple. So it is possible to give the option several times.
Same as option --object
This option is used to specify the object on which the command is operating. Make sure you choose the right object. Of course this will also fail when the object is not fetchable with (in the objects list of) --task.
Same as option --task.
This option defines the \*(L"task name\*(R" the command is operating with. A \*(L"task name\*(R" is a certain command inside the CipUX Task Library. For example \*(L"cipux_task_create room\*(R". You can easily define new tasks in the configuration file. The default location of this file is /etc/cipux/cipux-task.yaml.
Same as option --version.
Prints the version and exits.
Same as option --mattrvalue.
Same as option --attrvalue.
cipux_task_client
See the CipUX webpage and the manual at <http://www.cipux.org>
See the mailing list http://sympa.cipworx.org/wws/info/cipux-devel <http://sympa.cipworx.org/wws/info/cipux-devel>
Christian Kuelker <[email protected]>
Copyright (C) 2007 - 2010 by Christian Kuelker
This program is free software; you can redistribute it and/or modify it under the terms of the \s-1GNU\s0 General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but \s-1WITHOUT\s0 \s-1ANY\s0 \s-1WARRANTY\s0; without even the implied warranty of \s-1MERCHANTABILITY\s0 or \s-1FITNESS\s0 \s-1FOR\s0 A \s-1PARTICULAR\s0 \s-1PURPOSE\s0. See the \s-1GNU\s0 General Public License for more details.
You should have received a copy of the \s-1GNU\s0 General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, \s-1MA\s0 02111-1307 \s-1USA\s0