@microsoft/bf-chatdown

4.15.0 • Public • Published

@microsoft/bf-chatdown

This package is intended for Microsoft use only and should be consumed through @microsoft/botframework-cli. It is not designed to be consumed as an independent package.

oclif Version

Tool for parsing chat files and outputting replayable activities.

Relevant docs

Commands

bf chatdown

Converts chat dialog files in .chat format into transcript files. Writes corresponding .transcript for each .chat file.

USAGE
  $ bf chatdown

OPTIONS
  -h, --help  Chatdown command help

See code: src\commands\chatdown\index.ts

bf chatdown:convert

Converts chat dialog files in .chat format into transcript files. Writes corresponding .transcript for each .chat file.

USAGE
  $ bf chatdown:convert

OPTIONS
  -f, --force    If --out flag is provided with the path to an existing file, overwrites that file
  -h, --help     Chatdown command help

  -i, --in=in    The path of the chat file or directory to be parsed. A glob expression may be passed containing chat
                 files to be processed all at once, ex. ./**/*.chat. If flag is omitted, stdin will be used. If an
                 output directory is not present (-o), it will default the output to the current working directory.

  -o, --out=out  Path to the directory where the output of the multiple chat file processing (-o) will be placed.

  -p, --prefix   Prefix stdout with package name.

  -s, --stamp    Use static timestamps when generating timestamps on activities.

EXAMPLE

     $ bf chatdown
     $ bf chatdown --in=./path/to/file/sample.chat
     $ bf chatdown --in ./test/utils/*.sample.chat -o ./
     $ (echo user=Joe && [ConversationUpdate=MembersAdded=Joe]) | bf chatdown --static

See code: src\commands\chatdown\convert.ts

bf chatdown

Converts chat dialog files in .chat format into transcript files. Writes corresponding .transcript for each .chat file.

USAGE
  $ bf chatdown

OPTIONS
  -h, --help  Chatdown command help

See code: src/commands/chatdown/index.ts

bf chatdown:convert

Converts chat dialog files in .chat format into transcript files. Writes corresponding .transcript for each .chat file.

USAGE
  $ bf chatdown:convert

OPTIONS
  -f, --force    If --out flag is provided with the path to an existing file, overwrites that file
  -h, --help     Chatdown command help

  -i, --in=in    The path of the chat file or directory to be parsed. A glob expression may be passed containing chat
                 files to be processed all at once, ex. ./**/*.chat. If flag is omitted, stdin will be used. If an
                 output directory is not present (-o), it will default the output to the current working directory.

  -o, --out=out  Path to the directory where the output of the multiple chat file processing (-o) will be placed.

  -p, --prefix   Prefix stdout with package name.

  -s, --stamp    Use static timestamps when generating timestamps on activities.

EXAMPLE

     $ bf chatdown
     $ bf chatdown --in=./path/to/file/sample.chat
     $ bf chatdown --in ./test/utils/*.sample.chat -o ./
     $ (echo user=Joe && [ConversationUpdate=MembersAdded=Joe]) | bf chatdown --static

See code: src/commands/chatdown/convert.ts

Readme

Keywords

Package Sidebar

Install

npm i @microsoft/bf-chatdown

Weekly Downloads

887

Version

4.15.0

License

MIT

Unpacked Size

55.6 kB

Total Files

24

Last publish

Collaborators

  • botframework
  • sgellock
  • cwhitten
  • microsoft1es
  • peterinnesmsft
  • cmullins