|CIPUX_TASK_CLIENT(1p)||User Contributed Perl Documentation||CIPUX_TASK_CLIENT(1p)|
command line interface to CipUX Task library
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
DESCRIPTION OF OPTIONS¶
- This is option have to be use if a LDAP 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:
If you want to delete all values of that attribute you can just provide:
- Same as option --cfg.
- To specify the configuration file, if any. The default location for the
configuration file is:
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 STDOUT.
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 LDAP object has to be created. This
option requires always an attribute and a value. Therefore only this
syntax is possible:
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 "m" 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 "task name" the command is operating with. A "task name" is a certain command inside the CipUX Task Library. For example "cipux_task_create room". 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.
See the CipUX webpage and the manual at <http://www.cipux.org>
See the mailing list <http://sympa.cipworx.org/wws/info/cipux-devel>
Christian Kuelker <firstname.lastname@example.org>
COPYRIGHT AND LICENSE¶
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 GNU 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 WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA