Changes between Version 2 and Version 3 of control-panel/alternative-interfaces


Ignore:
Timestamp:
Jul 19, 2013, 12:34:47 AM (6 years ago)
Author:
Ross
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • control-panel/alternative-interfaces

    v2 v3  
    142142== Using the command line (red-cli) ==
    143143
    144 The command line program is only accessible to administrators and can only be run from the command line on hay.mayfirst.org.
     144The command line program is only accessible to administrators and can only be run from the command line on hay as `www-data@hay.mayfirst.org`.
    145145
    146146The cli program is in: /usr/local/share/red/ui/sbin/red-cli
     
    160160}}}
    161161
     162In order to insert an item, the syntax is a little confusing.  Here's what inserting a user and corresponding email looks like:
    162163
     164{{{
     165./red-cli --action=insert --object=item
     166--set:hosting_order_id=THE_HOSTING_ORDER_NUMBER
     167--set:service_id=1 --set:user_account_login=test42
     168--set:user_account_password=test4242
     169--where:hosting_order_identifier=THE_HOSTING_ORDER_DOMAIN.org;                                                                                     
     170
     171./red-cli --action=insert --object=item
     172--set:hosting_order_id=THE_HOSTING_ORDER_NUMBER
     173--set:service_id=2 --set:email_address=test@THE_DOMAIN_NAME.org
     174--set:email_address_recipient=test42
     175--where:hosting_order_identifier=THE_HOSTING_ORDER_DOMAIN.org;
     176}}}