Cct command
From PlcWiki
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