- description: Command init should create template files
  command: ../../../../../bin/datagen init
  exitcode: 0
  output: 'Creating example template files: header, segment, footer'

- description: Command gen should default to 1 worker
  command: ../../../../../bin/datagen gen
  exitcode: 0
  output: Start worker 1\nFinish worker 1

- description: Command gen should work with optional flags
  command: ../../../../../bin/datagen gen --gen-id foobar --num-segments 100 --num-workers 8 --max-concurrent-workers 2 --out-file data
  exitcode: 0
  output: ((Start|Finish) worker [1-8]\n){16}

- description: Command help should display help information
  command: ../../../../../bin/datagen --help
  exitcode: 0
  output: 'Usage: datagen'

- description: Command init should create template files
  command: ../../../../../bin/datagen init
  exitcode: 0
  output: 'Creating example template files: header, segment, footer'

- description: Command gen should default to 1 worker
  command: ../../../../../bin/datagen gen
  exitcode: 0
  output: Start worker 1\nFinish worker 1

- description: Command gen should work with optional flags
  command: ../../../../../bin/datagen gen --gen-id foobar --num-segments 100 --num-workers 8 --max-concurrent-workers 2 --out-file data
  exitcode: 0
  output: ((Start|Finish) worker [1-8]\n){16}

Add test for help menu.
Add test for help menu.
