资源说明:CCD CLI client for Perl
Perl CLI client for CCD server ============================== DESCRIPTION ----------- ccd-client is CLI client for Sendanor's Control Center Daemon. Users can be use it to edit their data in our system. Intented people using this software are: * Clients editing their own data directly * ISPs editing clients data on behalf of them * Resellers editing clients data on behalf of them User interface is the same no matter who is using the software. We plan to include web based client sometime in the future. INSTALLATION REQUIREMENTS ------------------------- Packages needed (Debian names): * libxml-simple-perl * libwww-perl * perl-modules * libcrypt-ssleay-perl You can install them by running `apt-get install libxml-simple-perl libwww-perl perl-modules libcrypt-ssleay-perl`. INSTALLATION FROM GIT --------------------- git clone http://github.com/jheusala/perl-ccd-cli.git perl-ccd-cli cd perl-ccd-cli INSTALLATION WITH WGET ---------------------- wget https://raw.github.com/jheusala/perl-ccd-cli/master/ccd-client.pl -O ccd-client.pl EXAMPLES -------- Using `help` command: $ ./ccd-client.pl help USAGE: ccd COMMAND [NAME=VALUE ...] Available commands: help activate account create account dummy login logout register client switch client show client See also: help COMMAND Creating accounts: $ ./ccd-client.pl create account username="yritys@example.com" username: yritys@example.com password: XYsw3iNU realname: Account created successfully. Email has been sent with instructions how to activate this account. Activating account: $ ./ccd-client.pl activate account code=FBDKI3MngTgqkyxGzzT8z1XpdcoFmwEP Account activated successfully. Logging in: $ ./ccd-client.pl login username="yritys@example.com" password="XYsw3iNU" Login successful as yritys@example.com (#1001). Switching client contexts: $ ./ccd-client.pl switch client Switched to client(#1234) Fetching client info: $ ./ccd-client.pl show client client_id: 1234 campaign_id: 0 updated: Wed May 06 2009 15:55:53 GMT+0300 (EEST) creation: Thu Jan 01 1970 01:59:59 GMT+0200 (EET) date: Thu Jan 01 1970 01:59:59 GMT+0200 (EET) termination_date: Thu Jan 01 1970 01:59:59 GMT+0200 (EET) company: Example Oy company_code: 1234567-0 firstname: Matti lastname: Meikalainen address: Kiilakiventie 1 postcode: 90250 postname: OULU email: yritys@example.com phone: +358401234567 mobile: fax: send_email: 1 send_post: 0 is_terminated: 0 Logging out: $ ./ccd-client.pl logout You have logged out now.
本源码包内暂不包含可直接显示的源代码文件,请下载源码包。