Command-line programs have to be downloaded separately from Reliable Software web site. Here's the list of applets:
| allCoopCmd | See usage details |
| CoopCmd | See usage details |
| addfile | equivalent to Folder > Add More Files |
| checkin | equivalent to Selection > Check-In |
| checkout | equivalent to Selection > Check-Out |
| deliver | copies specified script(s) to Public Inbox |
| diagnostics | generates diagnostics information for all projects on a given computer |
| export | equivalent to Selection > Export Version |
| projectstatus | summarizes status of projects with checked out files and/or incoming scripts |
| removefile | equivalent to Selection > Make Uncontrolled |
| removefile -d | deletes file from disk -- equivalent to Selection > Delete |
| report | displays a version description taken from history |
| restore | equivalent to Selection > Restore |
| startCoopBackup | equivalent to Tools > Create Backup |
| status | display file status: in, out, not controlled |
| sync | equivalent to All > Sync and Accept |
| uncheckout | equivalent to Selection > Un-CheckOut |
| unznc | decompresses a .znc file and copies it to the Public Inbox |
| versionid | prints next or current version id |
| versionlabel | equivalent to History > Add Label |
| visitproject | starts Code Co-op in a given project |
If you have never set-up command-line applets, it's pretty simple to do.
First, install the command-line applets into your designated directory. Next, you will need to add this path to your environment. To do this, go to Control Panel and select System. Click the Advanced tab and then click the Environment Variables button. You will see a field "Path" under System Variables. Select it and click Edit. You will need to add the location to where the command-line applets are installed at the end of the line. Note: Each location is separated by a semicolon. You will add something like this:
;c:\Program Files\Reliable Software\Code Co-op\cmdline
To add some automation to your development, you can create batch files to call these applets.
Each command-line applet will print a short help message when you execute it from the command-line without any arguments (or with the switch -? or -h).
For example, when calling "checkout" without an argument, you get the following:
Prepare project files for edits. checkout <options> <files> options: -a -- checkout all project files -r -- recursive checkout -? -- display help
If you want to check-out all the files in a project, you would type something like this:
checkout -a "c:\projects\my project name"
Keep in mind that when you specify files, you can use absolute paths or paths relative to current directory (in particular you can use file names in the current directory). File paths determine the Code Co-op project in which the given operation is to be carried out.