Cct command

From PlcWiki

(Difference between revisions)
Jump to: navigation, search
(Usage:)
Line 1: Line 1:
= Usage:=
= Usage:=
-
cct [-h|--help] [-v|--verbose] [-n|--no-verbose] [-c|--no-commit]\
+
cct [-h|--help] [-v|--verbose] [-n|--no-verbose] [-c|--no-commit] [-r|--no-review] [-b|--background]\
         locked <ccturi>
         locked <ccturi>
         lock <ccturi> <locking ID>
         lock <ccturi> <locking ID>
Line 25: Line 25:
         forallwp <command>
         forallwp <command>
         onallwp <command>
         onallwp <command>
-
         wp
+
         setkey <ccturi> key = value
-
         plan
+
         fakesetkey <ccturi> key = value
-
         partdistribution
+
         setexistingkey <ccturi> key = value
 +
        fakesetexistingkey <ccturi> key = value
 +
        checkkey <ccturi> key
         version <ccturi>
         version <ccturi>

Revision as of 08:18, 4 March 2013

Contents

Usage:

cct [-h|--help] [-v|--verbose] [-n|--no-verbose] [-c|--no-commit] [-r|--no-review] [-b|--background]\

       locked <ccturi>
       lock <ccturi> <locking ID>
       lockinfo <ccturi>
       unlock <ccturi>
       path <ccturi>
       glob <ccturi>
       cat <ccturi>
       save <ccturi>
       vi <ccturi>
       edit <ccturi>
       deploy <ccturi>
       fakedeploy <ccturi>
       editdeploy <ccturi>
       videploy <ccturi>
       checkout
       commit <ccturi> <message>
       log <ccturi>
       diff <ccturi>
       diffdeployed <ccturi>
       revert <ccturi>
       blame <ccturi>
       update <ccturi>
       forallwp <command>
       onallwp <command>
       setkey <ccturi> key = value
       fakesetkey <ccturi> key = value
       setexistingkey <ccturi> key = value
       fakesetexistingkey <ccturi> key = value
       checkkey <ccturi> key
       version <ccturi>

ccturi:

  • cct://<cct path>
  • @<cct path with wildcars (*?~)>
  • @@<wpid>|plan|part
  • <absolute path>
  • <relative path>

cct path:

  • path relative to CCT base, e.g. workplaces/K1/etc/plc_client_K1.cfg

Command shortcuts

   locked|ld|locke
   lock|l|lo|loc
   lockinfo|li
   unlock|u|un|unl|unlo|unloc
   path|p|pa|pat
   glob|g|gl|glo
   cat|c|ca
   save|sav|sa|s
   vi
   edit|e|edi
   deploy|de|dep|depl|deplo
   fakedeploy|fd|fakedeplo|fakedepl|fakedep|fakede|faked|fake|fak|fa
   editdeploy|ede|ed
   videploy|vde|vd
   checkout|co|ch|che|chec|check|checko|checkou
   commit|ci|com|comm|commi
   log|lg
   diff|d|di|dif
   diffdeployed|dd
   update|up|upd|upda|updat
   version|v|ve|ver|vers|versi|versio
   blame|blam|bla|b|annotate|praise
   revert|rever|reve|rev|re
   forallwp|faw
   onallwp|oaw
   wp|w
   plan|pla|pl
   partdistribution|pd|parts|part|par

Direct setting of a key

Example:

cct -r setkey @@f1 WorkPlace.ToDoWindow.Width = FULL

Settings on multiple stations

Example:

cct forallwp cct -r setkey @@@wpid WorkPlace.Tightening.StrictPSetCheck = Yes
cct forallwp cct deploy @@@wpid
Personal tools