Difference between revisions of "Extractor"

From PC2wiki
Jump to: navigation, search
m (add to description)
m (Usage and Features: clarified syntax)
Line 15: Line 15:
 
  Usage: [options] CCS_reportname [outfilename]
 
  Usage: [options] CCS_reportname [outfilename]
  
pc2extract extracts 3 TSV files from the contest to stdout.  If the optional
+
pc2extract outputs a CCS TSV file/data from the contest to stdout.  If the optional
 
outfilename is supplied the output will be written to that file.
 
outfilename is supplied the output will be written to that file.
  
submissions produces a [[submissions.tsv]] file
+
<tt>CCS_reportname</tt> is one of the following:
scoreboard produces a [[scoreboard.tsv]] file
+
* submissions produces a [[submissions.tsv]] file
results produces a [[results.tsv]] file
+
* scoreboard produces a [[scoreboard.tsv]] file
 +
* results produces a [[results.tsv]] file
  
 
===Examples===
 
===Examples===

Revision as of 00:08, 23 January 2013

pc2extract extracts contest information from a pc2 server. The command meets a CCS requirement to extract information from a server.

Usage

To produce usage use the command

pc2extract --help

The pc2extract like all other pc2 scripts, supports the -F option to specify some or all command line options in a file.

Usage and Features

Usage: [options] CCS_reportname [outfilename]

pc2extract outputs a CCS TSV file/data from the contest to stdout. If the optional outfilename is supplied the output will be written to that file.

CCS_reportname is one of the following:

Examples

pc2extract --login scoreboard1 --password scoreboard1 

To list usage use

pc2extract --help

Usage Example

Usage: [options] CCS_reportname [outfilename]

--login loginName - login name (or use -u)
--password password - login password (or use -w) 

CCS_reportname - one of the following submissions, scoreboard, results

Example: Extractor --login scoreboard1 --password scoreboard1 scoreboard

See Also