Skip to content

Latest commit

 

History

History
86 lines (59 loc) · 3.39 KB

README.md

File metadata and controls

86 lines (59 loc) · 3.39 KB

@microsoft/bf-dialog

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 Downloads/week License

Relevant docs

Commands

bf dialog

Dialog related commands for working with .schema and .dialog files.

USAGE
  $ bf dialog

OPTIONS
  -h, --help  Dialog command help

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

bf dialog:merge PATTERNS

Merge <kind>.schema and <kind>[.<locale>].uischema definitions from a project and its dependencies into a single .schema for describing .dialog files and a per locale .uischema for describing how Composer shows them. If a dependent package has an "exported" directory it is copied to / in the --imports directory. You can make use of negative patterns like !/generated/ to exclude particular directories or files, although some directories like bin, obj and node_modules are automatically excluded.

USAGE
  $ bf dialog:merge PATTERNS

ARGUMENTS
  PATTERNS  Any number of glob regex patterns to match .csproj, .nuspec or package.json files.

OPTIONS
  -c, --checkOnly        Check and do not write files.
  -h, --help             show CLI help

  -o, --output=output    Output path and optional filename for merged .schema and .uischema.  Defaults to first project
                         name.

  -s, --schema=schema    Path to merged .schema file to use if merging .uischema only.

  -v, --verbose          Show verbose logging of files as they are processed.

  --extension=extension  [default: .dialog,.lg,.lu,.schema,.qna,.uischema] Extension to include as a resource.

  --imports=imports      Output path for imported assets.  Defaults to the directory of --out with an imported
                         directory.

EXAMPLES
  $ bf dialog:merge myProject.csproj plugins/*.nuspec
  $ bf dialog:merge package.json -o app.schema

See code: src/commands/dialog/merge.ts

bf dialog:verify PATTERNS

Verify .dialog files match their app.schema.

USAGE
  $ bf dialog:verify PATTERNS

ARGUMENTS
  PATTERNS  Any number of glob regex patterns to match .dialog files.

OPTIONS
  -h, --help           show CLI help
  -s, --schema=schema  Default schema to use if no $schema in dialog file.
  -v, --verbose        Show verbose output

See code: src/commands/dialog/verify.ts