talksuite-cli
Usage
INSTALL
$ npm install -g @talksuite/talksuite-cli
USAGE
$ ts COMMAND
running command...
$ ts (-v|--version|version)
talksuite-cli/x.y.z [ARCH] node-[NODEVERS]
$ ts --help [COMMAND]
Commands
ts create-bot-template ORGID BOTID NAME
ts export-bots CONTENTDIR [ORGID] [BOTID]
ts export-content CONTENTDIR [ORGID] [PROJECTID]
ts help [COMMAND]
ts import-bots CONTENTDIR [ORGID] [BOTID]
ts import-content CONTENTDIR [ORGID] [PROJECTID] [REMOTEPROJECTID]
ts list-bots [ORGID]
ts list-dialogues [ORGID] [PROJECTID]
ts list-orgs
ts list-processes [ORGID]
ts list-projects [ORGID]
ts login [ENV] [EMAIL] [PASSWORD]
ts ludown-to-luis SOURCE OUT
ts luis-to-ludown SOURCE OUT
ts migrate-bot ORGID BOTID TEMPLATENAME
ts update-all-processes NAME HOURS MINUTES [ORGID]
ts validate-bots ORGID [BOTID]
ts validate-content CONTENTDIR
ts validate-project ORGID PROJECTID
ts create-bot-template ORGID BOTID NAME
Creates a bot template to be used to ensure the correct configuration of all bots of the same type
USAGE
$ ts create-bot-template ORGID BOTID NAME
ARGUMENTS
ORGID Organisation ID or name containing the bot
BOTID Bot ID or name of the bot to create template form
NAME Name of the bot template
OPTIONS
-h, --help show CLI help
-v, --verbose
EXAMPLE
$ ts create-bot-template
See code: src/commands/create-bot-template.ts
ts export-bots CONTENTDIR [ORGID] [BOTID]
Exports bots for backup or editing locally
USAGE
$ ts export-bots CONTENTDIR [ORGID] [BOTID]
ARGUMENTS
CONTENTDIR Directory to output to
ORGID Organisation ID or name
BOTID Bot ID or name
OPTIONS
-h, --help show CLI help
-v, --verbose
EXAMPLE
$ ts export-bots
See code: src/commands/export-bots.ts
ts export-content CONTENTDIR [ORGID] [PROJECTID]
Exports dialogues, languages, and projects to the local file system
USAGE
$ ts export-content CONTENTDIR [ORGID] [PROJECTID]
ARGUMENTS
CONTENTDIR Directory to output to
ORGID Organisation ID or name
PROJECTID Project ID or name
OPTIONS
-g, --guid Stores in a human readable folder structure.
-h, --help show CLI help
-v, --verbose
EXAMPLE
$ ts export-content
See code: src/commands/export-content.ts
ts help [COMMAND]
display help for ts
USAGE
$ ts help [COMMAND]
ARGUMENTS
COMMAND command to show help for
OPTIONS
--all see all commands in CLI
See code: @oclif/plugin-help
ts import-bots CONTENTDIR [ORGID] [BOTID]
Imports bots from local files into talksuite
USAGE
$ ts import-bots CONTENTDIR [ORGID] [BOTID]
ARGUMENTS
CONTENTDIR Directory to output to
ORGID Organisation ID or name
BOTID Bot ID or name
OPTIONS
-h, --help show CLI help
-v, --verbose
EXAMPLE
$ ts import-bots
See code: src/commands/import-bots.ts
ts import-content CONTENTDIR [ORGID] [PROJECTID] [REMOTEPROJECTID]
Imports the local copies of dialogues, languages, and projects into talksuite
USAGE
$ ts import-content CONTENTDIR [ORGID] [PROJECTID] [REMOTEPROJECTID]
ARGUMENTS
CONTENTDIR Directory to import from
ORGID Organisation ID or name to import into
PROJECTID Project ID or name to import from
REMOTEPROJECTID Project ID or name to import into
OPTIONS
-d, --delete Remove Content and projects that aren't being imported.
-h, --help show CLI help
-i, --ignore Ignore import order pre-checking.
-v, --disableValidate Disable cross dialogue validation of the dialogues.
-v, --verbose
EXAMPLE
$ ts import-content
See code: src/commands/import-content.ts
ts list-bots [ORGID]
Lists the bots in an organisation talksuite.
USAGE
$ ts list-bots [ORGID]
ARGUMENTS
ORGID Organisation ID
OPTIONS
-h, --help show CLI help
-j, --json Returns in JSON format, not in a human readable form.
-v, --verbose
EXAMPLE
$ ts list-bot
See code: src/commands/list-bots.ts
ts list-dialogues [ORGID] [PROJECTID]
Lists the dialogues in an organisation talksuite.
USAGE
$ ts list-dialogues [ORGID] [PROJECTID]
ARGUMENTS
ORGID Organisation ID or name
PROJECTID Project ID or name
OPTIONS
-h, --help show CLI help
-j, --json Returns in JSON format, not in a human readable form.
-v, --verbose
EXAMPLE
$ ts list-dialogues
See code: src/commands/list-dialogues.ts
ts list-orgs
Lists all your organisations in talksuite.
USAGE
$ ts list-orgs
OPTIONS
-h, --help show CLI help
-j, --json Returns in JSON format, not in a human readable form.
-v, --verbose
EXAMPLE
$ ts list-orgs
See code: src/commands/list-orgs.ts
ts list-processes [ORGID]
Lists the bots and their processes in an organisation talksuite.
USAGE
$ ts list-processes [ORGID]
ARGUMENTS
ORGID Organisation ID
OPTIONS
-h, --help show CLI help
-j, --json Returns in JSON format, not in a human readable form.
-v, --verbose
EXAMPLE
$ ts list-processes
See code: src/commands/list-processes.ts
ts list-projects [ORGID]
Lists the projects in a talksuite organisation.
USAGE
$ ts list-projects [ORGID]
ARGUMENTS
ORGID Organisation ID
OPTIONS
-h, --help show CLI help
-j, --json Returns in JSON format, not in a human readable form.
-v, --verbose
EXAMPLE
$ ts list-projects
See code: src/commands/list-projects.ts
ts login [ENV] [EMAIL] [PASSWORD]
Login to talksuite to allow command line access.
USAGE
$ ts login [ENV] [EMAIL] [PASSWORD]
ARGUMENTS
ENV [default: produks] Base url to create http calls from (only applicable for internal talksuite development)
if you're scripting a login use produks
EMAIL Email that you would use to log into talksuite
PASSWORD Password to use
OPTIONS
-h, --help show CLI help
-v, --verbose
EXAMPLE
$ ts login 'username' 'password'
See code: src/commands/login.ts
ts ludown-to-luis SOURCE OUT
Converts a ludown file into a LUIS json file.
USAGE
$ ts ludown-to-luis SOURCE OUT
ARGUMENTS
SOURCE Source file
OUT Output file
OPTIONS
-h, --help show CLI help
-v, --verbose
EXAMPLES
$ ts ludown-to-luis
First - $ ts luis-to-ludown .\build\BotServices\luis\iTrent.json .\tmp.txt
Then - $ ts ludown-to-luis .\tmp.txt .\build\BotServices\luis\iTrent.json
See code: src/commands/ludown-to-luis.ts
ts luis-to-ludown SOURCE OUT
Converts a luis json file into a ludown file.
USAGE
$ ts luis-to-ludown SOURCE OUT
ARGUMENTS
SOURCE Source file
OUT Output file
OPTIONS
-h, --help show CLI help
-v, --verbose
EXAMPLE
$ ts luis-to-ludown
See code: src/commands/luis-to-ludown.ts
ts migrate-bot ORGID BOTID TEMPLATENAME
Updates a Bot from a template
USAGE
$ ts migrate-bot ORGID BOTID TEMPLATENAME
ARGUMENTS
ORGID Organisation ID or name
BOTID Bot ID or name
TEMPLATENAME Bot template name
OPTIONS
-h, --help show CLI help
-v, --verbose Turn on the additional log messages.
EXAMPLE
$ ts migrate-bot
See code: src/commands/migrate-bot.ts
ts update-all-processes NAME HOURS MINUTES [ORGID]
Updates all processes on all bots in an org
USAGE
$ ts update-all-processes NAME HOURS MINUTES [ORGID]
ARGUMENTS
NAME The name of the process
HOURS The hour when the process should trigger
MINUTES The minute when the process should trigger
ORGID Organisation ID or name
OPTIONS
-h, --help show CLI help
-j, --json Returns in JSON format, not in a human readable form
-v, --verbose
EXAMPLE
$ ts update-all-processes
See code: src/commands/update-all-processes.ts
ts validate-bots ORGID [BOTID]
Compares a bot against its template showing any misconfigurations and potentially performing simple fixes
USAGE
$ ts validate-bots ORGID [BOTID]
ARGUMENTS
ORGID Organisation ID or name
BOTID Bot ID or name
OPTIONS
-h, --help show CLI help
-u, --update update constants that are not valid against the templates
-v, --verbose
EXAMPLE
$ ts validate-bots
See code: src/commands/validate-bots.ts
ts validate-content CONTENTDIR
Validates local dialogues to isolate problems
USAGE
$ ts validate-content CONTENTDIR
ARGUMENTS
CONTENTDIR Directory to scan
OPTIONS
-h, --help show CLI help
-v, --verbose
EXAMPLE
$ ts validate-content
See code: src/commands/validate-content.ts
ts validate-project ORGID PROJECTID
Validates dialogues and languages of the specified project against global and themselves
USAGE
$ ts validate-project ORGID PROJECTID
ARGUMENTS
ORGID Organisation ID or name that contains the project
PROJECTID Project ID or Name to validate
OPTIONS
-h, --help show CLI help
-v, --verbose
EXAMPLE
$ ts validate-project
See code: src/commands/validate-project.ts
ts create-bot-template ORGID BOTID NAME
ts export-bots CONTENTDIR [ORGID] [BOTID]
ts export-content CONTENTDIR [ORGID] [PROJECTID]
ts help [COMMAND]
ts import-bots CONTENTDIR [ORGID] [BOTID]
ts import-content CONTENTDIR [ORGID] [PROJECTID] [REMOTEPROJECTID]
ts list-bots [ORGID]
ts list-dialogues [ORGID] [PROJECTID]
ts list-orgs
ts list-processes [ORGID]
ts list-projects [ORGID]
ts login [ENV] [EMAIL] [PASSWORD]
ts ludown-to-luis SOURCE OUT
ts luis-to-ludown SOURCE OUT
ts migrate-bot ORGID BOTID TEMPLATENAME
ts update-all-processes NAME HOURS MINUTES [ORGID]
ts validate-bots ORGID [BOTID]
ts validate-content CONTENTDIR
ts validate-project ORGID PROJECTID
ts create-bot-template ORGID BOTID NAME
Creates a bot template to be used to ensure the correct configuration of all bots of the same type
USAGE
$ ts create-bot-template ORGID BOTID NAME
ARGUMENTS
ORGID Organisation ID or name containing the bot
BOTID Bot ID or name of the bot to create template form
NAME Name of the bot template
OPTIONS
-h, --help show CLI help
-v, --verbose
EXAMPLE
$ ts create-bot-template
See code: src/commands/create-bot-template.ts
ts export-bots CONTENTDIR [ORGID] [BOTID]
Exports bots for backup or editing locally
USAGE
$ ts export-bots CONTENTDIR [ORGID] [BOTID]
ARGUMENTS
CONTENTDIR Directory to output to
ORGID Organisation ID or name
BOTID Bot ID or name
OPTIONS
-h, --help show CLI help
-v, --verbose
EXAMPLE
$ ts export-bots
See code: src/commands/export-bots.ts
ts export-content CONTENTDIR [ORGID] [PROJECTID]
Exports dialogues, languages, and projects to the local file system
USAGE
$ ts export-content CONTENTDIR [ORGID] [PROJECTID]
ARGUMENTS
CONTENTDIR Directory to output to
ORGID Organisation ID or name
PROJECTID Project ID or name
OPTIONS
-g, --guid Stores in a human readable folder structure.
-h, --help show CLI help
-v, --verbose
EXAMPLE
$ ts export-content
See code: src/commands/export-content.ts
ts help [COMMAND]
display help for ts
USAGE
$ ts help [COMMAND]
ARGUMENTS
COMMAND command to show help for
OPTIONS
--all see all commands in CLI
See code: @oclif/plugin-help
ts import-bots CONTENTDIR [ORGID] [BOTID]
Imports bots from local files into talksuite
USAGE
$ ts import-bots CONTENTDIR [ORGID] [BOTID]
ARGUMENTS
CONTENTDIR Directory to output to
ORGID Organisation ID or name
BOTID Bot ID or name
OPTIONS
-h, --help show CLI help
-v, --verbose
EXAMPLE
$ ts import-bots
See code: src/commands/import-bots.ts
ts import-content CONTENTDIR [ORGID] [PROJECTID] [REMOTEPROJECTID]
Imports the local copies of dialogues, languages, and projects into talksuite
USAGE
$ ts import-content CONTENTDIR [ORGID] [PROJECTID] [REMOTEPROJECTID]
ARGUMENTS
CONTENTDIR Directory to import from
ORGID Organisation ID or name to import into
PROJECTID Project ID or name to import from
REMOTEPROJECTID Project ID or name to import into
OPTIONS
-d, --delete Remove Content and projects that aren't being imported.
-h, --help show CLI help
-i, --ignore Ignore import order pre-checking.
-v, --disableValidate Disable cross dialogue validation of the dialogues.
-v, --verbose
EXAMPLE
$ ts import-content
See code: src/commands/import-content.ts
ts list-bots [ORGID]
Lists the bots in an organisation talksuite.
USAGE
$ ts list-bots [ORGID]
ARGUMENTS
ORGID Organisation ID
OPTIONS
-h, --help show CLI help
-j, --json Returns in JSON format, not in a human readable form.
-v, --verbose
EXAMPLE
$ ts list-bot
See code: src/commands/list-bots.ts
ts list-dialogues [ORGID] [PROJECTID]
Lists the dialogues in an organisation talksuite.
USAGE
$ ts list-dialogues [ORGID] [PROJECTID]
ARGUMENTS
ORGID Organisation ID or name
PROJECTID Project ID or name
OPTIONS
-h, --help show CLI help
-j, --json Returns in JSON format, not in a human readable form.
-v, --verbose
EXAMPLE
$ ts list-dialogues
See code: src/commands/list-dialogues.ts
ts list-orgs
Lists all your organisations in talksuite.
USAGE
$ ts list-orgs
OPTIONS
-h, --help show CLI help
-j, --json Returns in JSON format, not in a human readable form.
-v, --verbose
EXAMPLE
$ ts list-orgs
See code: src/commands/list-orgs.ts
ts list-processes [ORGID]
Lists the bots and their processes in an organisation talksuite.
USAGE
$ ts list-processes [ORGID]
ARGUMENTS
ORGID Organisation ID
OPTIONS
-h, --help show CLI help
-j, --json Returns in JSON format, not in a human readable form.
-v, --verbose
EXAMPLE
$ ts list-processes
See code: src/commands/list-processes.ts
ts list-projects [ORGID]
Lists the projects in a talksuite organisation.
USAGE
$ ts list-projects [ORGID]
ARGUMENTS
ORGID Organisation ID
OPTIONS
-h, --help show CLI help
-j, --json Returns in JSON format, not in a human readable form.
-v, --verbose
EXAMPLE
$ ts list-projects
See code: src/commands/list-projects.ts
ts login [ENV] [EMAIL] [PASSWORD]
Login to talksuite to allow command line access.
USAGE
$ ts login [ENV] [EMAIL] [PASSWORD]
ARGUMENTS
ENV [default: produks] Base url to create http calls from (only applicable for internal talksuite development)
if you're scripting a login use produks
EMAIL Email that you would use to log into talksuite
PASSWORD Password to use
OPTIONS
-h, --help show CLI help
-v, --verbose
EXAMPLE
$ ts login 'username' 'password'
See code: src/commands/login.ts
ts ludown-to-luis SOURCE OUT
Converts a ludown file into a LUIS json file.
USAGE
$ ts ludown-to-luis SOURCE OUT
ARGUMENTS
SOURCE Source file
OUT Output file
OPTIONS
-h, --help show CLI help
-v, --verbose
EXAMPLES
$ ts ludown-to-luis
First - $ ts luis-to-ludown .\build\BotServices\luis\iTrent.json .\tmp.txt
Then - $ ts ludown-to-luis .\tmp.txt .\build\BotServices\luis\iTrent.json
See code: src/commands/ludown-to-luis.ts
ts luis-to-ludown SOURCE OUT
Converts a luis json file into a ludown file.
USAGE
$ ts luis-to-ludown SOURCE OUT
ARGUMENTS
SOURCE Source file
OUT Output file
OPTIONS
-h, --help show CLI help
-v, --verbose
EXAMPLE
$ ts luis-to-ludown
See code: src/commands/luis-to-ludown.ts
ts migrate-bot ORGID BOTID TEMPLATENAME
Updates a Bot from a template
USAGE
$ ts migrate-bot ORGID BOTID TEMPLATENAME
ARGUMENTS
ORGID Organisation ID or name
BOTID Bot ID or name
TEMPLATENAME Bot template name
OPTIONS
-h, --help show CLI help
-v, --verbose Turn on the additional log messages.
EXAMPLE
$ ts migrate-bot
See code: src/commands/migrate-bot.ts
ts update-all-processes NAME HOURS MINUTES [ORGID]
Updates all processes on all bots in an org
USAGE
$ ts update-all-processes NAME HOURS MINUTES [ORGID]
ARGUMENTS
NAME The name of the process
HOURS The hour when the process should trigger
MINUTES The minute when the process should trigger
ORGID Organisation ID or name
OPTIONS
-h, --help show CLI help
-j, --json Returns in JSON format, not in a human readable form
-v, --verbose
EXAMPLE
$ ts update-all-processes
See code: src/commands/update-all-processes.ts
ts validate-bots ORGID [BOTID]
Compares a bot against its template showing any misconfigurations and potentially performing simple fixes
USAGE
$ ts validate-bots ORGID [BOTID]
ARGUMENTS
ORGID Organisation ID or name
BOTID Bot ID or name
OPTIONS
-h, --help show CLI help
-u, --update update constants that are not valid against the templates
-v, --verbose
EXAMPLE
$ ts validate-bots
See code: src/commands/validate-bots.ts
ts validate-content CONTENTDIR
Validates local dialogues to isolate problems
USAGE
$ ts validate-content CONTENTDIR
ARGUMENTS
CONTENTDIR Directory to scan
OPTIONS
-h, --help show CLI help
-v, --verbose
EXAMPLE
$ ts validate-content
See code: src/commands/validate-content.ts
ts validate-project ORGID PROJECTID
Validates dialogues and languages of the specified project against global and themselves
USAGE
$ ts validate-project ORGID PROJECTID
ARGUMENTS
ORGID Organisation ID or name that contains the project
PROJECTID Project ID or Name to validate
OPTIONS
-h, --help show CLI help
-v, --verbose
EXAMPLE
$ ts validate-project
See code: src/commands/validate-project.ts
ts create-bot-template ORGID BOTID NAME
ts export-bots CONTENTDIR [ORGID] [BOTID]
ts export-content CONTENTDIR [ORGID] [PROJECTID]
ts help [COMMAND]
ts import-bots CONTENTDIR [ORGID] [BOTID]
ts import-content CONTENTDIR [ORGID] [PROJECTID] [REMOTEPROJECTID]
ts list-bots [ORGID]
ts list-dialogues [ORGID] [PROJECTID]
ts list-orgs
ts list-processes [ORGID]
ts list-projects [ORGID]
ts login [ENV] [EMAIL] [PASSWORD]
ts ludown-to-luis SOURCE OUT
ts luis-to-ludown SOURCE OUT
ts migrate-bot ORGID BOTID TEMPLATENAME
ts update-all-processes NAME HOURS MINUTES [ORGID]
ts validate-bots ORGID [BOTID]
ts validate-content CONTENTDIR
ts validate-project ORGID PROJECTID
ts create-bot-template ORGID BOTID NAME
Creates a bot template to be used to ensure the correct configuration of all bots of the same type
USAGE
$ ts create-bot-template ORGID BOTID NAME
ARGUMENTS
ORGID Organisation ID or name containing the bot
BOTID Bot ID or name of the bot to create template form
NAME Name of the bot template
OPTIONS
-h, --help show CLI help
-v, --verbose
EXAMPLE
$ ts create-bot-template
See code: src/commands/create-bot-template.ts
ts export-bots CONTENTDIR [ORGID] [BOTID]
Exports bots for backup or editing locally
USAGE
$ ts export-bots CONTENTDIR [ORGID] [BOTID]
ARGUMENTS
CONTENTDIR Directory to output to
ORGID Organisation ID or name
BOTID Bot ID or name
OPTIONS
-h, --help show CLI help
-v, --verbose
EXAMPLE
$ ts export-bots
See code: src/commands/export-bots.ts
ts export-content CONTENTDIR [ORGID] [PROJECTID]
Exports dialogues, languages, and projects to the local file system
USAGE
$ ts export-content CONTENTDIR [ORGID] [PROJECTID]
ARGUMENTS
CONTENTDIR Directory to output to
ORGID Organisation ID or name
PROJECTID Project ID or name
OPTIONS
-g, --guid Stores in a human readable folder structure.
-h, --help show CLI help
-v, --verbose
EXAMPLE
$ ts export-content
See code: src/commands/export-content.ts
ts help [COMMAND]
display help for ts
USAGE
$ ts help [COMMAND]
ARGUMENTS
COMMAND command to show help for
OPTIONS
--all see all commands in CLI
See code: @oclif/plugin-help
ts import-bots CONTENTDIR [ORGID] [BOTID]
Imports bots from local files into talksuite
USAGE
$ ts import-bots CONTENTDIR [ORGID] [BOTID]
ARGUMENTS
CONTENTDIR Directory to output to
ORGID Organisation ID or name
BOTID Bot ID or name
OPTIONS
-h, --help show CLI help
-v, --verbose
EXAMPLE
$ ts import-bots
See code: src/commands/import-bots.ts
ts import-content CONTENTDIR [ORGID] [PROJECTID] [REMOTEPROJECTID]
Imports the local copies of dialogues, languages, and projects into talksuite
USAGE
$ ts import-content CONTENTDIR [ORGID] [PROJECTID] [REMOTEPROJECTID]
ARGUMENTS
CONTENTDIR Directory to import from
ORGID Organisation ID or name to import into
PROJECTID Project ID or name to import from
REMOTEPROJECTID Project ID or name to import into
OPTIONS
-d, --delete Remove Content and projects that aren't being imported.
-h, --help show CLI help
-i, --ignore Ignore import order pre-checking.
-v, --disableValidate Disable cross dialogue validation of the dialogues.
-v, --verbose
EXAMPLE
$ ts import-content
See code: src/commands/import-content.ts
ts list-bots [ORGID]
Lists the bots in an organisation talksuite.
USAGE
$ ts list-bots [ORGID]
ARGUMENTS
ORGID Organisation ID
OPTIONS
-h, --help show CLI help
-j, --json Returns in JSON format, not in a human readable form.
-v, --verbose
EXAMPLE
$ ts list-bot
See code: src/commands/list-bots.ts
ts list-dialogues [ORGID] [PROJECTID]
Lists the dialogues in an organisation talksuite.
USAGE
$ ts list-dialogues [ORGID] [PROJECTID]
ARGUMENTS
ORGID Organisation ID or name
PROJECTID Project ID or name
OPTIONS
-h, --help show CLI help
-j, --json Returns in JSON format, not in a human readable form.
-v, --verbose
EXAMPLE
$ ts list-dialogues
See code: src/commands/list-dialogues.ts
ts list-orgs
Lists all your organisations in talksuite.
USAGE
$ ts list-orgs
OPTIONS
-h, --help show CLI help
-j, --json Returns in JSON format, not in a human readable form.
-v, --verbose
EXAMPLE
$ ts list-orgs
See code: src/commands/list-orgs.ts
ts list-processes [ORGID]
Lists the bots and their processes in an organisation talksuite.
USAGE
$ ts list-processes [ORGID]
ARGUMENTS
ORGID Organisation ID
OPTIONS
-h, --help show CLI help
-j, --json Returns in JSON format, not in a human readable form.
-v, --verbose
EXAMPLE
$ ts list-processes
See code: src/commands/list-processes.ts
ts list-projects [ORGID]
Lists the projects in a talksuite organisation.
USAGE
$ ts list-projects [ORGID]
ARGUMENTS
ORGID Organisation ID
OPTIONS
-h, --help show CLI help
-j, --json Returns in JSON format, not in a human readable form.
-v, --verbose
EXAMPLE
$ ts list-projects
See code: src/commands/list-projects.ts
ts login [ENV] [EMAIL] [PASSWORD]
Login to talksuite to allow command line access.
USAGE
$ ts login [ENV] [EMAIL] [PASSWORD]
ARGUMENTS
ENV [default: produks] Base url to create http calls from (only applicable for internal talksuite development)
if you're scripting a login use produks
EMAIL Email that you would use to log into talksuite
PASSWORD Password to use
OPTIONS
-h, --help show CLI help
-v, --verbose
EXAMPLE
$ ts login 'username' 'password'
See code: src/commands/login.ts
ts ludown-to-luis SOURCE OUT
Converts a ludown file into a LUIS json file.
USAGE
$ ts ludown-to-luis SOURCE OUT
ARGUMENTS
SOURCE Source file
OUT Output file
OPTIONS
-h, --help show CLI help
-v, --verbose
EXAMPLES
$ ts ludown-to-luis
First - $ ts luis-to-ludown .\build\BotServices\luis\iTrent.json .\tmp.txt
Then - $ ts ludown-to-luis .\tmp.txt .\build\BotServices\luis\iTrent.json
See code: src/commands/ludown-to-luis.ts
ts luis-to-ludown SOURCE OUT
Converts a luis json file into a ludown file.
USAGE
$ ts luis-to-ludown SOURCE OUT
ARGUMENTS
SOURCE Source file
OUT Output file
OPTIONS
-h, --help show CLI help
-v, --verbose
EXAMPLE
$ ts luis-to-ludown
See code: src/commands/luis-to-ludown.ts
ts migrate-bot ORGID BOTID TEMPLATENAME
Updates a Bot from a template
USAGE
$ ts migrate-bot ORGID BOTID TEMPLATENAME
ARGUMENTS
ORGID Organisation ID or name
BOTID Bot ID or name
TEMPLATENAME Bot template name
OPTIONS
-h, --help show CLI help
-v, --verbose Turn on the additional log messages.
EXAMPLE
$ ts migrate-bot
See code: src/commands/migrate-bot.ts
ts update-all-processes NAME HOURS MINUTES [ORGID]
Updates all processes on all bots in an org
USAGE
$ ts update-all-processes NAME HOURS MINUTES [ORGID]
ARGUMENTS
NAME The name of the process
HOURS The hour when the process should trigger
MINUTES The minute when the process should trigger
ORGID Organisation ID or name
OPTIONS
-h, --help show CLI help
-j, --json Returns in JSON format, not in a human readable form
-v, --verbose
EXAMPLE
$ ts update-all-processes
See code: src/commands/update-all-processes.ts
ts validate-bots ORGID [BOTID]
Compares a bot against its template showing any misconfigurations and potentially performing simple fixes
USAGE
$ ts validate-bots ORGID [BOTID]
ARGUMENTS
ORGID Organisation ID or name
BOTID Bot ID or name
OPTIONS
-h, --help show CLI help
-u, --update update constants that are not valid against the templates
-v, --verbose
EXAMPLE
$ ts validate-bots
See code: src/commands/validate-bots.ts
ts validate-content CONTENTDIR
Validates local dialogues to isolate problems
USAGE
$ ts validate-content CONTENTDIR
ARGUMENTS
CONTENTDIR Directory to scan
OPTIONS
-h, --help show CLI help
-v, --verbose
EXAMPLE
$ ts validate-content
See code: src/commands/validate-content.ts
ts validate-project ORGID PROJECTID
Validates dialogues and languages of the specified project against global and themselves
USAGE
$ ts validate-project ORGID PROJECTID
ARGUMENTS
ORGID Organisation ID or name that contains the project
PROJECTID Project ID or Name to validate
OPTIONS
-h, --help show CLI help
-v, --verbose
EXAMPLE
$ ts validate-project
See code: src/commands/validate-project.ts
ts create-bot-template ORGID BOTID NAME
ts export-bots CONTENTDIR [ORGID] [BOTID]
ts export-content CONTENTDIR [ORGID] [PROJECTID]
ts help [COMMAND]
ts import-bots CONTENTDIR [ORGID] [BOTID]
ts import-content CONTENTDIR [ORGID] [PROJECTID] [REMOTEPROJECTID]
ts list-bots [ORGID]
ts list-dialogues [ORGID] [PROJECTID]
ts list-orgs
ts list-processes [ORGID]
ts list-projects [ORGID]
ts login [ENV] [EMAIL] [PASSWORD]
ts ludown-to-luis SOURCE OUT
ts luis-to-ludown SOURCE OUT
ts migrate-bot ORGID BOTID TEMPLATENAME
ts update-all-processes NAME HOURS MINUTES [ORGID]
ts validate-bots ORGID [BOTID]
ts validate-content CONTENTDIR
ts validate-project ORGID PROJECTID
ts create-bot-template ORGID BOTID NAME
Creates a bot template to be used to ensure the correct configuration of all bots of the same type
USAGE
$ ts create-bot-template ORGID BOTID NAME
ARGUMENTS
ORGID Organisation ID or name containing the bot
BOTID Bot ID or name of the bot to create template form
NAME Name of the bot template
OPTIONS
-h, --help show CLI help
-v, --verbose
EXAMPLE
$ ts create-bot-template
See code: src/commands/create-bot-template.ts
ts export-bots CONTENTDIR [ORGID] [BOTID]
Exports bots for backup or editing locally
USAGE
$ ts export-bots CONTENTDIR [ORGID] [BOTID]
ARGUMENTS
CONTENTDIR Directory to output to
ORGID Organisation ID or name
BOTID Bot ID or name
OPTIONS
-h, --help show CLI help
-v, --verbose
EXAMPLE
$ ts export-bots
See code: src/commands/export-bots.ts
ts export-content CONTENTDIR [ORGID] [PROJECTID]
Exports dialogues, languages, and projects to the local file system
USAGE
$ ts export-content CONTENTDIR [ORGID] [PROJECTID]
ARGUMENTS
CONTENTDIR Directory to output to
ORGID Organisation ID or name
PROJECTID Project ID or name
OPTIONS
-g, --guid Stores in a human readable folder structure.
-h, --help show CLI help
-v, --verbose
EXAMPLE
$ ts export-content
See code: src/commands/export-content.ts
ts help [COMMAND]
display help for ts
USAGE
$ ts help [COMMAND]
ARGUMENTS
COMMAND command to show help for
OPTIONS
--all see all commands in CLI
See code: @oclif/plugin-help
ts import-bots CONTENTDIR [ORGID] [BOTID]
Imports bots from local files into talksuite
USAGE
$ ts import-bots CONTENTDIR [ORGID] [BOTID]
ARGUMENTS
CONTENTDIR Directory to output to
ORGID Organisation ID or name
BOTID Bot ID or name
OPTIONS
-h, --help show CLI help
-v, --verbose
EXAMPLE
$ ts import-bots
See code: src/commands/import-bots.ts
ts import-content CONTENTDIR [ORGID] [PROJECTID] [REMOTEPROJECTID]
Imports the local copies of dialogues, languages, and projects into talksuite
USAGE
$ ts import-content CONTENTDIR [ORGID] [PROJECTID] [REMOTEPROJECTID]
ARGUMENTS
CONTENTDIR Directory to import from
ORGID Organisation ID or name to import into
PROJECTID Project ID or name to import from
REMOTEPROJECTID Project ID or name to import into
OPTIONS
-d, --delete Remove Content and projects that aren't being imported.
-h, --help show CLI help
-i, --ignore Ignore import order pre-checking.
-v, --disableValidate Disable cross dialogue validation of the dialogues.
-v, --verbose
EXAMPLE
$ ts import-content
See code: src/commands/import-content.ts
ts list-bots [ORGID]
Lists the bots in an organisation talksuite.
USAGE
$ ts list-bots [ORGID]
ARGUMENTS
ORGID Organisation ID
OPTIONS
-h, --help show CLI help
-j, --json Returns in JSON format, not in a human readable form.
-v, --verbose
EXAMPLE
$ ts list-bot
See code: src/commands/list-bots.ts
ts list-dialogues [ORGID] [PROJECTID]
Lists the dialogues in an organisation talksuite.
USAGE
$ ts list-dialogues [ORGID] [PROJECTID]
ARGUMENTS
ORGID Organisation ID or name
PROJECTID Project ID or name
OPTIONS
-h, --help show CLI help
-j, --json Returns in JSON format, not in a human readable form.
-v, --verbose
EXAMPLE
$ ts list-dialogues
See code: src/commands/list-dialogues.ts
ts list-orgs
Lists all your organisations in talksuite.
USAGE
$ ts list-orgs
OPTIONS
-h, --help show CLI help
-j, --json Returns in JSON format, not in a human readable form.
-v, --verbose
EXAMPLE
$ ts list-orgs
See code: src/commands/list-orgs.ts
ts list-processes [ORGID]
Lists the bots and their processes in an organisation talksuite.
USAGE
$ ts list-processes [ORGID]
ARGUMENTS
ORGID Organisation ID
OPTIONS
-h, --help show CLI help
-j, --json Returns in JSON format, not in a human readable form.
-v, --verbose
EXAMPLE
$ ts list-processes
See code: src/commands/list-processes.ts
ts list-projects [ORGID]
Lists the projects in a talksuite organisation.
USAGE
$ ts list-projects [ORGID]
ARGUMENTS
ORGID Organisation ID
OPTIONS
-h, --help show CLI help
-j, --json Returns in JSON format, not in a human readable form.
-v, --verbose
EXAMPLE
$ ts list-projects
See code: src/commands/list-projects.ts
ts login [ENV] [EMAIL] [PASSWORD]
Login to talksuite to allow command line access.
USAGE
$ ts login [ENV] [EMAIL] [PASSWORD]
ARGUMENTS
ENV [default: produks] Base url to create http calls from (only applicable for internal talksuite development)
if you're scripting a login use produks
EMAIL Email that you would use to log into talksuite
PASSWORD Password to use
OPTIONS
-h, --help show CLI help
-v, --verbose
EXAMPLE
$ ts login 'username' 'password'
See code: src/commands/login.ts
ts ludown-to-luis SOURCE OUT
Converts a ludown file into a LUIS json file.
USAGE
$ ts ludown-to-luis SOURCE OUT
ARGUMENTS
SOURCE Source file
OUT Output file
OPTIONS
-h, --help show CLI help
-v, --verbose
EXAMPLES
$ ts ludown-to-luis
First - $ ts luis-to-ludown .\build\BotServices\luis\iTrent.json .\tmp.txt
Then - $ ts ludown-to-luis .\tmp.txt .\build\BotServices\luis\iTrent.json
See code: src/commands/ludown-to-luis.ts
ts luis-to-ludown SOURCE OUT
Converts a luis json file into a ludown file.
USAGE
$ ts luis-to-ludown SOURCE OUT
ARGUMENTS
SOURCE Source file
OUT Output file
OPTIONS
-h, --help show CLI help
-v, --verbose
EXAMPLE
$ ts luis-to-ludown
See code: src/commands/luis-to-ludown.ts
ts migrate-bot ORGID BOTID TEMPLATENAME
Updates a Bot from a template
USAGE
$ ts migrate-bot ORGID BOTID TEMPLATENAME
ARGUMENTS
ORGID Organisation ID or name
BOTID Bot ID or name
TEMPLATENAME Bot template name
OPTIONS
-h, --help show CLI help
-v, --verbose Turn on the additional log messages.
EXAMPLE
$ ts migrate-bot
See code: src/commands/migrate-bot.ts
ts update-all-processes NAME HOURS MINUTES [ORGID]
Updates all processes on all bots in an org
USAGE
$ ts update-all-processes NAME HOURS MINUTES [ORGID]
ARGUMENTS
NAME The name of the process
HOURS The hour when the process should trigger
MINUTES The minute when the process should trigger
ORGID Organisation ID or name
OPTIONS
-h, --help show CLI help
-j, --json Returns in JSON format, not in a human readable form
-v, --verbose
EXAMPLE
$ ts update-all-processes
See code: src/commands/update-all-processes.ts
ts validate-bots ORGID [BOTID]
Compares a bot against its template showing any misconfigurations and potentially performing simple fixes
USAGE
$ ts validate-bots ORGID [BOTID]
ARGUMENTS
ORGID Organisation ID or name
BOTID Bot ID or name
OPTIONS
-h, --help show CLI help
-u, --update update constants that are not valid against the templates
-v, --verbose
EXAMPLE
$ ts validate-bots
See code: src/commands/validate-bots.ts
ts validate-content CONTENTDIR
Validates local dialogues to isolate problems
USAGE
$ ts validate-content CONTENTDIR
ARGUMENTS
CONTENTDIR Directory to scan
OPTIONS
-h, --help show CLI help
-v, --verbose
EXAMPLE
$ ts validate-content
See code: src/commands/validate-content.ts
ts validate-project ORGID PROJECTID
Validates dialogues and languages of the specified project against global and themselves
USAGE
$ ts validate-project ORGID PROJECTID
ARGUMENTS
ORGID Organisation ID or name that contains the project
PROJECTID Project ID or Name to validate
OPTIONS
-h, --help show CLI help
-v, --verbose
EXAMPLE
$ ts validate-project
See code: src/commands/validate-project.ts
ts create-bot-template ORGID BOTID NAME
ts export-bots CONTENTDIR [ORGID] [BOTID]
ts export-content CONTENTDIR [ORGID] [PROJECTID]
ts help [COMMAND]
ts import-bots CONTENTDIR [ORGID] [BOTID]
ts import-content CONTENTDIR [ORGID] [PROJECTID] [REMOTEPROJECTID]
ts list-bots [ORGID]
ts list-dialogues [ORGID] [PROJECTID]
ts list-orgs
ts list-processes [ORGID]
ts list-projects [ORGID]
ts login [ENV] [EMAIL] [PASSWORD]
ts ludown-to-luis SOURCE OUT
ts luis-to-ludown SOURCE OUT
ts migrate-bot ORGID BOTID TEMPLATENAME
ts update-all-processes NAME HOURS MINUTES [ORGID]
ts validate-bots ORGID [BOTID]
ts validate-content CONTENTDIR
ts validate-project ORGID PROJECTID
ts create-bot-template ORGID BOTID NAME
Creates a bot template to be used to ensure the correct configuration of all bots of the same type
USAGE
$ ts create-bot-template ORGID BOTID NAME
ARGUMENTS
ORGID Organisation ID or name containing the bot
BOTID Bot ID or name of the bot to create template form
NAME Name of the bot template
OPTIONS
-h, --help show CLI help
-v, --verbose
EXAMPLE
$ ts create-bot-template
See code: src/commands/create-bot-template.ts
ts export-bots CONTENTDIR [ORGID] [BOTID]
Exports bots for backup or editing locally
USAGE
$ ts export-bots CONTENTDIR [ORGID] [BOTID]
ARGUMENTS
CONTENTDIR Directory to output to
ORGID Organisation ID or name
BOTID Bot ID or name
OPTIONS
-h, --help show CLI help
-v, --verbose
EXAMPLE
$ ts export-bots
See code: src/commands/export-bots.ts
ts export-content CONTENTDIR [ORGID] [PROJECTID]
Exports dialogues, languages, and projects to the local file system
USAGE
$ ts export-content CONTENTDIR [ORGID] [PROJECTID]
ARGUMENTS
CONTENTDIR Directory to output to
ORGID Organisation ID or name
PROJECTID Project ID or name
OPTIONS
-g, --guid Stores in a human readable folder structure.
-h, --help show CLI help
-v, --verbose
EXAMPLE
$ ts export-content
See code: src/commands/export-content.ts
ts help [COMMAND]
display help for ts
USAGE
$ ts help [COMMAND]
ARGUMENTS
COMMAND command to show help for
OPTIONS
--all see all commands in CLI
See code: @oclif/plugin-help
ts import-bots CONTENTDIR [ORGID] [BOTID]
Imports bots from local files into talksuite
USAGE
$ ts import-bots CONTENTDIR [ORGID] [BOTID]
ARGUMENTS
CONTENTDIR Directory to output to
ORGID Organisation ID or name
BOTID Bot ID or name
OPTIONS
-h, --help show CLI help
-v, --verbose
EXAMPLE
$ ts import-bots
See code: src/commands/import-bots.ts
ts import-content CONTENTDIR [ORGID] [PROJECTID] [REMOTEPROJECTID]
Imports the local copies of dialogues, languages, and projects into talksuite
USAGE
$ ts import-content CONTENTDIR [ORGID] [PROJECTID] [REMOTEPROJECTID]
ARGUMENTS
CONTENTDIR Directory to import from
ORGID Organisation ID or name to import into
PROJECTID Project ID or name to import from
REMOTEPROJECTID Project ID or name to import into
OPTIONS
-d, --delete Remove Content and projects that aren't being imported.
-h, --help show CLI help
-i, --ignore Ignore import order pre-checking.
-v, --disableValidate Disable cross dialogue validation of the dialogues.
-v, --verbose
EXAMPLE
$ ts import-content
See code: src/commands/import-content.ts
ts list-bots [ORGID]
Lists the bots in an organisation talksuite.
USAGE
$ ts list-bots [ORGID]
ARGUMENTS
ORGID Organisation ID
OPTIONS
-h, --help show CLI help
-j, --json Returns in JSON format, not in a human readable form.
-v, --verbose
EXAMPLE
$ ts list-bot
See code: src/commands/list-bots.ts
ts list-dialogues [ORGID] [PROJECTID]
Lists the dialogues in an organisation talksuite.
USAGE
$ ts list-dialogues [ORGID] [PROJECTID]
ARGUMENTS
ORGID Organisation ID or name
PROJECTID Project ID or name
OPTIONS
-h, --help show CLI help
-j, --json Returns in JSON format, not in a human readable form.
-v, --verbose
EXAMPLE
$ ts list-dialogues
See code: src/commands/list-dialogues.ts
ts list-orgs
Lists all your organisations in talksuite.
USAGE
$ ts list-orgs
OPTIONS
-h, --help show CLI help
-j, --json Returns in JSON format, not in a human readable form.
-v, --verbose
EXAMPLE
$ ts list-orgs
See code: src/commands/list-orgs.ts
ts list-processes [ORGID]
Lists the bots and their processes in an organisation talksuite.
USAGE
$ ts list-processes [ORGID]
ARGUMENTS
ORGID Organisation ID
OPTIONS
-h, --help show CLI help
-j, --json Returns in JSON format, not in a human readable form.
-v, --verbose
EXAMPLE
$ ts list-processes
See code: src/commands/list-processes.ts
ts list-projects [ORGID]
Lists the projects in a talksuite organisation.
USAGE
$ ts list-projects [ORGID]
ARGUMENTS
ORGID Organisation ID
OPTIONS
-h, --help show CLI help
-j, --json Returns in JSON format, not in a human readable form.
-v, --verbose
EXAMPLE
$ ts list-projects
See code: src/commands/list-projects.ts
ts login [ENV] [EMAIL] [PASSWORD]
Login to talksuite to allow command line access.
USAGE
$ ts login [ENV] [EMAIL] [PASSWORD]
ARGUMENTS
ENV [default: produks] Base url to create http calls from (only applicable for internal talksuite development)
if you're scripting a login use produks
EMAIL Email that you would use to log into talksuite
PASSWORD Password to use
OPTIONS
-h, --help show CLI help
-v, --verbose
EXAMPLE
$ ts login 'username' 'password'
See code: src/commands/login.ts
ts ludown-to-luis SOURCE OUT
Converts a ludown file into a LUIS json file.
USAGE
$ ts ludown-to-luis SOURCE OUT
ARGUMENTS
SOURCE Source file
OUT Output file
OPTIONS
-h, --help show CLI help
-v, --verbose
EXAMPLES
$ ts ludown-to-luis
First - $ ts luis-to-ludown .\build\BotServices\luis\iTrent.json .\tmp.txt
Then - $ ts ludown-to-luis .\tmp.txt .\build\BotServices\luis\iTrent.json
See code: src/commands/ludown-to-luis.ts
ts luis-to-ludown SOURCE OUT
Converts a luis json file into a ludown file.
USAGE
$ ts luis-to-ludown SOURCE OUT
ARGUMENTS
SOURCE Source file
OUT Output file
OPTIONS
-h, --help show CLI help
-v, --verbose
EXAMPLE
$ ts luis-to-ludown
See code: src/commands/luis-to-ludown.ts
ts migrate-bot ORGID BOTID TEMPLATENAME
Updates a Bot from a template
USAGE
$ ts migrate-bot ORGID BOTID TEMPLATENAME
ARGUMENTS
ORGID Organisation ID or name
BOTID Bot ID or name
TEMPLATENAME Bot template name
OPTIONS
-h, --help show CLI help
-v, --verbose Turn on the additional log messages.
EXAMPLE
$ ts migrate-bot
See code: src/commands/migrate-bot.ts
ts update-all-processes NAME HOURS MINUTES [ORGID]
Updates all processes on all bots in an org
USAGE
$ ts update-all-processes NAME HOURS MINUTES [ORGID]
ARGUMENTS
NAME The name of the process
HOURS The hour when the process should trigger
MINUTES The minute when the process should trigger
ORGID Organisation ID or name
OPTIONS
-h, --help show CLI help
-j, --json Returns in JSON format, not in a human readable form
-v, --verbose
EXAMPLE
$ ts update-all-processes
See code: src/commands/update-all-processes.ts
ts validate-bots ORGID [BOTID]
Compares a bot against its template showing any misconfigurations and potentially performing simple fixes
USAGE
$ ts validate-bots ORGID [BOTID]
ARGUMENTS
ORGID Organisation ID or name
BOTID Bot ID or name
OPTIONS
-h, --help show CLI help
-u, --update update constants that are not valid against the templates
-v, --verbose
EXAMPLE
$ ts validate-bots
See code: src/commands/validate-bots.ts
ts validate-content CONTENTDIR
Validates local dialogues to isolate problems
USAGE
$ ts validate-content CONTENTDIR
ARGUMENTS
CONTENTDIR Directory to scan
OPTIONS
-h, --help show CLI help
-v, --verbose
EXAMPLE
$ ts validate-content
See code: src/commands/validate-content.ts
ts validate-project ORGID PROJECTID
Validates dialogues and languages of the specified project against global and themselves
USAGE
$ ts validate-project ORGID PROJECTID
ARGUMENTS
ORGID Organisation ID or name that contains the project
PROJECTID Project ID or Name to validate
OPTIONS
-h, --help show CLI help
-v, --verbose
EXAMPLE
$ ts validate-project
See code: src/commands/validate-project.ts
ts create-bot-template ORGID BOTID NAME
ts export-bots CONTENTDIR [ORGID] [BOTID]
ts export-content CONTENTDIR [ORGID] [PROJECTID]
ts help [COMMAND]
ts import-bots CONTENTDIR [ORGID] [BOTID]
ts import-content CONTENTDIR [ORGID] [PROJECTID] [REMOTEPROJECTID]
ts list-bots [ORGID]
ts list-dialogues [ORGID] [PROJECTID]
ts list-orgs
ts list-processes [ORGID]
ts list-projects [ORGID]
ts login [ENV] [EMAIL] [PASSWORD]
ts ludown-to-luis SOURCE OUT
ts luis-to-ludown SOURCE OUT
ts migrate-bot ORGID BOTID TEMPLATENAME
ts update-all-processes NAME HOURS MINUTES [ORGID]
ts validate-bots ORGID [BOTID]
ts validate-content CONTENTDIR
ts validate-project ORGID PROJECTID
ts create-bot-template ORGID BOTID NAME
Creates a bot template to be used to ensure the correct configuration of all bots of the same type
USAGE
$ ts create-bot-template ORGID BOTID NAME
ARGUMENTS
ORGID Organisation ID or name containing the bot
BOTID Bot ID or name of the bot to create template form
NAME Name of the bot template
OPTIONS
-h, --help show CLI help
-v, --verbose
EXAMPLE
$ ts create-bot-template
See code: src/commands/create-bot-template.ts
ts export-bots CONTENTDIR [ORGID] [BOTID]
Exports bots for backup or editing locally
USAGE
$ ts export-bots CONTENTDIR [ORGID] [BOTID]
ARGUMENTS
CONTENTDIR Directory to output to
ORGID Organisation ID or name
BOTID Bot ID or name
OPTIONS
-h, --help show CLI help
-v, --verbose
EXAMPLE
$ ts export-bots
See code: src/commands/export-bots.ts
ts export-content CONTENTDIR [ORGID] [PROJECTID]
Exports dialogues, languages, and projects to the local file system
USAGE
$ ts export-content CONTENTDIR [ORGID] [PROJECTID]
ARGUMENTS
CONTENTDIR Directory to output to
ORGID Organisation ID or name
PROJECTID Project ID or name
OPTIONS
-g, --guid Stores in a human readable folder structure.
-h, --help show CLI help
-v, --verbose
EXAMPLE
$ ts export-content
See code: src/commands/export-content.ts
ts help [COMMAND]
display help for ts
USAGE
$ ts help [COMMAND]
ARGUMENTS
COMMAND command to show help for
OPTIONS
--all see all commands in CLI
See code: @oclif/plugin-help
ts import-bots CONTENTDIR [ORGID] [BOTID]
Imports bots from local files into talksuite
USAGE
$ ts import-bots CONTENTDIR [ORGID] [BOTID]
ARGUMENTS
CONTENTDIR Directory to output to
ORGID Organisation ID or name
BOTID Bot ID or name
OPTIONS
-h, --help show CLI help
-v, --verbose
EXAMPLE
$ ts import-bots
See code: src/commands/import-bots.ts
ts import-content CONTENTDIR [ORGID] [PROJECTID] [REMOTEPROJECTID]
Imports the local copies of dialogues, languages, and projects into talksuite
USAGE
$ ts import-content CONTENTDIR [ORGID] [PROJECTID] [REMOTEPROJECTID]
ARGUMENTS
CONTENTDIR Directory to import from
ORGID Organisation ID or name to import into
PROJECTID Project ID or name to import from
REMOTEPROJECTID Project ID or name to import into
OPTIONS
-d, --delete Remove Content and projects that aren't being imported.
-h, --help show CLI help
-i, --ignore Ignore import order pre-checking.
-v, --disableValidate Disable cross dialogue validation of the dialogues.
-v, --verbose
EXAMPLE
$ ts import-content
See code: src/commands/import-content.ts
ts list-bots [ORGID]
Lists the bots in an organisation talksuite.
USAGE
$ ts list-bots [ORGID]
ARGUMENTS
ORGID Organisation ID
OPTIONS
-h, --help show CLI help
-j, --json Returns in JSON format, not in a human readable form.
-v, --verbose
EXAMPLE
$ ts list-bot
See code: src/commands/list-bots.ts
ts list-dialogues [ORGID] [PROJECTID]
Lists the dialogues in an organisation talksuite.
USAGE
$ ts list-dialogues [ORGID] [PROJECTID]
ARGUMENTS
ORGID Organisation ID or name
PROJECTID Project ID or name
OPTIONS
-h, --help show CLI help
-j, --json Returns in JSON format, not in a human readable form.
-v, --verbose
EXAMPLE
$ ts list-dialogues
See code: src/commands/list-dialogues.ts
ts list-orgs
Lists all your organisations in talksuite.
USAGE
$ ts list-orgs
OPTIONS
-h, --help show CLI help
-j, --json Returns in JSON format, not in a human readable form.
-v, --verbose
EXAMPLE
$ ts list-orgs
See code: src/commands/list-orgs.ts
ts list-processes [ORGID]
Lists the bots and their processes in an organisation talksuite.
USAGE
$ ts list-processes [ORGID]
ARGUMENTS
ORGID Organisation ID
OPTIONS
-h, --help show CLI help
-j, --json Returns in JSON format, not in a human readable form.
-v, --verbose
EXAMPLE
$ ts list-processes
See code: src/commands/list-processes.ts
ts list-projects [ORGID]
Lists the projects in a talksuite organisation.
USAGE
$ ts list-projects [ORGID]
ARGUMENTS
ORGID Organisation ID
OPTIONS
-h, --help show CLI help
-j, --json Returns in JSON format, not in a human readable form.
-v, --verbose
EXAMPLE
$ ts list-projects
See code: src/commands/list-projects.ts
ts login [ENV] [EMAIL] [PASSWORD]
Login to talksuite to allow command line access.
USAGE
$ ts login [ENV] [EMAIL] [PASSWORD]
ARGUMENTS
ENV [default: produks] Base url to create http calls from (only applicable for internal talksuite development)
if you're scripting a login use produks
EMAIL Email that you would use to log into talksuite
PASSWORD Password to use
OPTIONS
-h, --help show CLI help
-v, --verbose
EXAMPLE
$ ts login 'username' 'password'
See code: src/commands/login.ts
ts ludown-to-luis SOURCE OUT
Converts a ludown file into a LUIS json file.
USAGE
$ ts ludown-to-luis SOURCE OUT
ARGUMENTS
SOURCE Source file
OUT Output file
OPTIONS
-h, --help show CLI help
-v, --verbose
EXAMPLES
$ ts ludown-to-luis
First - $ ts luis-to-ludown .\build\BotServices\luis\iTrent.json .\tmp.txt
Then - $ ts ludown-to-luis .\tmp.txt .\build\BotServices\luis\iTrent.json
See code: src/commands/ludown-to-luis.ts
ts luis-to-ludown SOURCE OUT
Converts a luis json file into a ludown file.
USAGE
$ ts luis-to-ludown SOURCE OUT
ARGUMENTS
SOURCE Source file
OUT Output file
OPTIONS
-h, --help show CLI help
-v, --verbose
EXAMPLE
$ ts luis-to-ludown
See code: src/commands/luis-to-ludown.ts
ts migrate-bot ORGID BOTID TEMPLATENAME
Updates a Bot from a template
USAGE
$ ts migrate-bot ORGID BOTID TEMPLATENAME
ARGUMENTS
ORGID Organisation ID or name
BOTID Bot ID or name
TEMPLATENAME Bot template name
OPTIONS
-h, --help show CLI help
-v, --verbose Turn on the additional log messages.
EXAMPLE
$ ts migrate-bot
See code: src/commands/migrate-bot.ts
ts update-all-processes NAME HOURS MINUTES [ORGID]
Updates all processes on all bots in an org
USAGE
$ ts update-all-processes NAME HOURS MINUTES [ORGID]
ARGUMENTS
NAME The name of the process
HOURS The hour when the process should trigger
MINUTES The minute when the process should trigger
ORGID Organisation ID or name
OPTIONS
-h, --help show CLI help
-j, --json Returns in JSON format, not in a human readable form
-v, --verbose
EXAMPLE
$ ts update-all-processes
See code: src/commands/update-all-processes.ts
ts validate-bots ORGID [BOTID]
Compares a bot against its template showing any misconfigurations and potentially performing simple fixes
USAGE
$ ts validate-bots ORGID [BOTID]
ARGUMENTS
ORGID Organisation ID or name
BOTID Bot ID or name
OPTIONS
-h, --help show CLI help
-u, --update update constants that are not valid against the templates
-v, --verbose
EXAMPLE
$ ts validate-bots
See code: src/commands/validate-bots.ts
ts validate-content CONTENTDIR
Validates local dialogues to isolate problems
USAGE
$ ts validate-content CONTENTDIR
ARGUMENTS
CONTENTDIR Directory to scan
OPTIONS
-h, --help show CLI help
-v, --verbose
EXAMPLE
$ ts validate-content
See code: src/commands/validate-content.ts
ts validate-project ORGID PROJECTID
Validates dialogues and languages of the specified project against global and themselves
USAGE
$ ts validate-project ORGID PROJECTID
ARGUMENTS
ORGID Organisation ID or name that contains the project
PROJECTID Project ID or Name to validate
OPTIONS
-h, --help show CLI help
-v, --verbose
EXAMPLE
$ ts validate-project
See code: src/commands/validate-project.ts
ts create-bot-template ORGID BOTID NAME
ts export-bots CONTENTDIR [ORGID] [BOTID]
ts export-content CONTENTDIR [ORGID] [PROJECTID]
ts help [COMMAND]
ts import-bots CONTENTDIR [ORGID] [BOTID]
ts import-content CONTENTDIR [ORGID] [PROJECTID] [REMOTEPROJECTID]
ts list-bots [ORGID]
ts list-dialogues [ORGID] [PROJECTID]
ts list-orgs
ts list-processes [ORGID]
ts list-projects [ORGID]
ts login [ENV] [EMAIL] [PASSWORD]
ts ludown-to-luis SOURCE OUT
ts luis-to-ludown SOURCE OUT
ts migrate-bot ORGID BOTID TEMPLATENAME
ts update-all-processes NAME HOURS MINUTES [ORGID]
ts validate-bots ORGID [BOTID]
ts validate-content CONTENTDIR
ts validate-project ORGID PROJECTID
ts create-bot-template ORGID BOTID NAME
Creates a bot template to be used to ensure the correct configuration of all bots of the same type
USAGE
$ ts create-bot-template ORGID BOTID NAME
ARGUMENTS
ORGID Organisation ID or name containing the bot
BOTID Bot ID or name of the bot to create template form
NAME Name of the bot template
OPTIONS
-h, --help show CLI help
-v, --verbose
EXAMPLE
$ ts create-bot-template
See code: src/commands/create-bot-template.ts
ts export-bots CONTENTDIR [ORGID] [BOTID]
Exports bots for backup or editing locally
USAGE
$ ts export-bots CONTENTDIR [ORGID] [BOTID]
ARGUMENTS
CONTENTDIR Directory to output to
ORGID Organisation ID or name
BOTID Bot ID or name
OPTIONS
-h, --help show CLI help
-v, --verbose
EXAMPLE
$ ts export-bots
See code: src/commands/export-bots.ts
ts export-content CONTENTDIR [ORGID] [PROJECTID]
Exports dialogues, languages, and projects to the local file system
USAGE
$ ts export-content CONTENTDIR [ORGID] [PROJECTID]
ARGUMENTS
CONTENTDIR Directory to output to
ORGID Organisation ID or name
PROJECTID Project ID or name
OPTIONS
-g, --guid Stores in a human readable folder structure.
-h, --help show CLI help
-v, --verbose
EXAMPLE
$ ts export-content
See code: src/commands/export-content.ts
ts help [COMMAND]
display help for ts
USAGE
$ ts help [COMMAND]
ARGUMENTS
COMMAND command to show help for
OPTIONS
--all see all commands in CLI
See code: @oclif/plugin-help
ts import-bots CONTENTDIR [ORGID] [BOTID]
Imports bots from local files into talksuite
USAGE
$ ts import-bots CONTENTDIR [ORGID] [BOTID]
ARGUMENTS
CONTENTDIR Directory to output to
ORGID Organisation ID or name
BOTID Bot ID or name
OPTIONS
-h, --help show CLI help
-v, --verbose
EXAMPLE
$ ts import-bots
See code: src/commands/import-bots.ts
ts import-content CONTENTDIR [ORGID] [PROJECTID] [REMOTEPROJECTID]
Imports the local copies of dialogues, languages, and projects into talksuite
USAGE
$ ts import-content CONTENTDIR [ORGID] [PROJECTID] [REMOTEPROJECTID]
ARGUMENTS
CONTENTDIR Directory to import from
ORGID Organisation ID or name to import into
PROJECTID Project ID or name to import from
REMOTEPROJECTID Project ID or name to import into
OPTIONS
-d, --delete Remove Content and projects that aren't being imported.
-h, --help show CLI help
-i, --ignore Ignore import order pre-checking.
-v, --disableValidate Disable cross dialogue validation of the dialogues.
-v, --verbose
EXAMPLE
$ ts import-content
See code: src/commands/import-content.ts
ts list-bots [ORGID]
Lists the bots in an organisation talksuite.
USAGE
$ ts list-bots [ORGID]
ARGUMENTS
ORGID Organisation ID
OPTIONS
-h, --help show CLI help
-j, --json Returns in JSON format, not in a human readable form.
-v, --verbose
EXAMPLE
$ ts list-bot
See code: src/commands/list-bots.ts
ts list-dialogues [ORGID] [PROJECTID]
Lists the dialogues in an organisation talksuite.
USAGE
$ ts list-dialogues [ORGID] [PROJECTID]
ARGUMENTS
ORGID Organisation ID or name
PROJECTID Project ID or name
OPTIONS
-h, --help show CLI help
-j, --json Returns in JSON format, not in a human readable form.
-v, --verbose
EXAMPLE
$ ts list-dialogues
See code: src/commands/list-dialogues.ts
ts list-orgs
Lists all your organisations in talksuite.
USAGE
$ ts list-orgs
OPTIONS
-h, --help show CLI help
-j, --json Returns in JSON format, not in a human readable form.
-v, --verbose
EXAMPLE
$ ts list-orgs
See code: src/commands/list-orgs.ts
ts list-processes [ORGID]
Lists the bots and their processes in an organisation talksuite.
USAGE
$ ts list-processes [ORGID]
ARGUMENTS
ORGID Organisation ID
OPTIONS
-h, --help show CLI help
-j, --json Returns in JSON format, not in a human readable form.
-v, --verbose
EXAMPLE
$ ts list-processes
See code: src/commands/list-processes.ts
ts list-projects [ORGID]
Lists the projects in a talksuite organisation.
USAGE
$ ts list-projects [ORGID]
ARGUMENTS
ORGID Organisation ID
OPTIONS
-h, --help show CLI help
-j, --json Returns in JSON format, not in a human readable form.
-v, --verbose
EXAMPLE
$ ts list-projects
See code: src/commands/list-projects.ts
ts login [ENV] [EMAIL] [PASSWORD]
Login to talksuite to allow command line access.
USAGE
$ ts login [ENV] [EMAIL] [PASSWORD]
ARGUMENTS
ENV [default: produks] Base url to create http calls from (only applicable for internal talksuite development)
if you're scripting a login use produks
EMAIL Email that you would use to log into talksuite
PASSWORD Password to use
OPTIONS
-h, --help show CLI help
-v, --verbose
EXAMPLE
$ ts login 'username' 'password'
See code: src/commands/login.ts
ts ludown-to-luis SOURCE OUT
Converts a ludown file into a LUIS json file.
USAGE
$ ts ludown-to-luis SOURCE OUT
ARGUMENTS
SOURCE Source file
OUT Output file
OPTIONS
-h, --help show CLI help
-v, --verbose
EXAMPLES
$ ts ludown-to-luis
First - $ ts luis-to-ludown .\build\BotServices\luis\iTrent.json .\tmp.txt
Then - $ ts ludown-to-luis .\tmp.txt .\build\BotServices\luis\iTrent.json
See code: src/commands/ludown-to-luis.ts
ts luis-to-ludown SOURCE OUT
Converts a luis json file into a ludown file.
USAGE
$ ts luis-to-ludown SOURCE OUT
ARGUMENTS
SOURCE Source file
OUT Output file
OPTIONS
-h, --help show CLI help
-v, --verbose
EXAMPLE
$ ts luis-to-ludown
See code: src/commands/luis-to-ludown.ts
ts migrate-bot ORGID BOTID TEMPLATENAME
Updates a Bot from a template
USAGE
$ ts migrate-bot ORGID BOTID TEMPLATENAME
ARGUMENTS
ORGID Organisation ID or name
BOTID Bot ID or name
TEMPLATENAME Bot template name
OPTIONS
-h, --help show CLI help
-v, --verbose Turn on the additional log messages.
EXAMPLE
$ ts migrate-bot
See code: src/commands/migrate-bot.ts
ts update-all-processes NAME HOURS MINUTES [ORGID]
Updates all processes on all bots in an org
USAGE
$ ts update-all-processes NAME HOURS MINUTES [ORGID]
ARGUMENTS
NAME The name of the process
HOURS The hour when the process should trigger
MINUTES The minute when the process should trigger
ORGID Organisation ID or name
OPTIONS
-h, --help show CLI help
-j, --json Returns in JSON format, not in a human readable form
-v, --verbose
EXAMPLE
$ ts update-all-processes
See code: src/commands/update-all-processes.ts
ts validate-bots ORGID [BOTID]
Compares a bot against its template showing any misconfigurations and potentially performing simple fixes
USAGE
$ ts validate-bots ORGID [BOTID]
ARGUMENTS
ORGID Organisation ID or name
BOTID Bot ID or name
OPTIONS
-h, --help show CLI help
-u, --update update constants that are not valid against the templates
-v, --verbose
EXAMPLE
$ ts validate-bots
See code: src/commands/validate-bots.ts
ts validate-content CONTENTDIR
Validates local dialogues to isolate problems
USAGE
$ ts validate-content CONTENTDIR
ARGUMENTS
CONTENTDIR Directory to scan
OPTIONS
-h, --help show CLI help
-v, --verbose
EXAMPLE
$ ts validate-content
See code: src/commands/validate-content.ts
ts validate-project ORGID PROJECTID
Validates dialogues and languages of the specified project against global and themselves
USAGE
$ ts validate-project ORGID PROJECTID
ARGUMENTS
ORGID Organisation ID or name that contains the project
PROJECTID Project ID or Name to validate
OPTIONS
-h, --help show CLI help
-v, --verbose
EXAMPLE
$ ts validate-project
See code: src/commands/validate-project.ts
talksuite create-bot-template ORGID BOTID NAME
talksuite export-bots CONTENTDIR [ORGID] [BOTID]
talksuite export-content CONTENTDIR [ORGID] [PROJECTID]
talksuite help [COMMAND]
talksuite import-bots CONTENTDIR [ORGID] [BOTID]
talksuite import-content CONTENTDIR [ORGID] [PROJECTID] [REMOTEPROJECTID]
talksuite list-bots [ORGID]
talksuite list-dialogues [ORGID] [PROJECTID]
talksuite list-orgs
talksuite list-processes [ORGID]
talksuite list-projects [ORGID]
talksuite login [ENV] [EMAIL] [PASSWORD]
talksuite ludown-to-luis SOURCE OUT
talksuite luis-to-ludown SOURCE OUT
talksuite migrate-bot ORGID BOTID TEMPLATENAME
talksuite update-all-processes NAME HOURS MINUTES [ORGID]
talksuite validate-bots ORGID [BOTID]
talksuite validate-content CONTENTDIR
talksuite validate-project ORGID PROJECTID
talksuite create-bot-template ORGID BOTID NAME
Creates a bot template to be used to ensure the correct configuration of all bots of the same type
USAGE
$ talksuite create-bot-template ORGID BOTID NAME
ARGUMENTS
ORGID Organisation ID or name containing the bot
BOTID Bot ID or name of the bot to create template form
NAME Name of the bot template
OPTIONS
-h, --help show CLI help
-v, --verbose
EXAMPLE
$ ts create-bot-template
See code: src/commands/create-bot-template.ts
talksuite export-bots CONTENTDIR [ORGID] [BOTID]
Exports bots for backup or editing locally
USAGE
$ talksuite export-bots CONTENTDIR [ORGID] [BOTID]
ARGUMENTS
CONTENTDIR Directory to output to
ORGID Organisation ID or name
BOTID Bot ID or name
OPTIONS
-h, --help show CLI help
-v, --verbose
EXAMPLE
$ ts export-bots
See code: src/commands/export-bots.ts
talksuite export-content CONTENTDIR [ORGID] [PROJECTID]
Exports dialogues, languages, and projects to the local file system
USAGE
$ talksuite export-content CONTENTDIR [ORGID] [PROJECTID]
ARGUMENTS
CONTENTDIR Directory to output to
ORGID Organisation ID or name
PROJECTID Project ID or name
OPTIONS
-g, --guid Stores in a human readable folder structure.
-h, --help show CLI help
-v, --verbose
EXAMPLE
$ ts export-content
See code: src/commands/export-content.ts
talksuite help [COMMAND]
display help for talksuite
USAGE
$ talksuite help [COMMAND]
ARGUMENTS
COMMAND command to show help for
OPTIONS
--all see all commands in CLI
See code: @oclif/plugin-help
talksuite import-bots CONTENTDIR [ORGID] [BOTID]
Imports bots from local files into talksuite
USAGE
$ talksuite import-bots CONTENTDIR [ORGID] [BOTID]
ARGUMENTS
CONTENTDIR Directory to output to
ORGID Organisation ID or name
BOTID Bot ID or name
OPTIONS
-h, --help show CLI help
-v, --verbose
EXAMPLE
$ ts import-bots
See code: src/commands/import-bots.ts
talksuite import-content CONTENTDIR [ORGID] [PROJECTID] [REMOTEPROJECTID]
Imports the local copies of dialogues, languages, and projects into talksuite
USAGE
$ talksuite import-content CONTENTDIR [ORGID] [PROJECTID] [REMOTEPROJECTID]
ARGUMENTS
CONTENTDIR Directory to import from
ORGID Organisation ID or name to import into
PROJECTID Project ID or name to import from
REMOTEPROJECTID Project ID or name to import into
OPTIONS
-d, --delete Remove Content and projects that aren't being imported.
-h, --help show CLI help
-i, --ignore Ignore import order pre-checking.
-v, --disableValidate Disable cross dialogue validation of the dialogues.
-v, --verbose
EXAMPLE
$ ts import-content
See code: src/commands/import-content.ts
talksuite list-bots [ORGID]
Lists the bots in an organisation talksuite.
USAGE
$ talksuite list-bots [ORGID]
ARGUMENTS
ORGID Organisation ID
OPTIONS
-h, --help show CLI help
-j, --json Returns in JSON format, not in a human readable form.
-v, --verbose
EXAMPLE
$ ts list-bot
See code: src/commands/list-bots.ts
talksuite list-dialogues [ORGID] [PROJECTID]
Lists the dialogues in an organisation talksuite.
USAGE
$ talksuite list-dialogues [ORGID] [PROJECTID]
ARGUMENTS
ORGID Organisation ID or name
PROJECTID Project ID or name
OPTIONS
-h, --help show CLI help
-j, --json Returns in JSON format, not in a human readable form.
-v, --verbose
EXAMPLE
$ ts list-dialogues
See code: src/commands/list-dialogues.ts
talksuite list-orgs
Lists all your organisations in talksuite.
USAGE
$ talksuite list-orgs
OPTIONS
-h, --help show CLI help
-j, --json Returns in JSON format, not in a human readable form.
-v, --verbose
EXAMPLE
$ ts list-orgs
See code: src/commands/list-orgs.ts
talksuite list-processes [ORGID]
Lists the bots and their processes in an organisation talksuite.
USAGE
$ talksuite list-processes [ORGID]
ARGUMENTS
ORGID Organisation ID
OPTIONS
-h, --help show CLI help
-j, --json Returns in JSON format, not in a human readable form.
-v, --verbose
EXAMPLE
$ ts list-processes
See code: src/commands/list-processes.ts
talksuite list-projects [ORGID]
Lists the projects in a talksuite organisation.
USAGE
$ talksuite list-projects [ORGID]
ARGUMENTS
ORGID Organisation ID
OPTIONS
-h, --help show CLI help
-j, --json Returns in JSON format, not in a human readable form.
-v, --verbose
EXAMPLE
$ ts list-projects
See code: src/commands/list-projects.ts
talksuite login [ENV] [EMAIL] [PASSWORD]
Login to talksuite to allow command line access.
USAGE
$ talksuite login [ENV] [EMAIL] [PASSWORD]
ARGUMENTS
ENV [default: produks] Base url to create http calls from (only applicable for internal talksuite development)
if you're scripting a login use produks
EMAIL Email that you would use to log into talksuite
PASSWORD Password to use
OPTIONS
-h, --help show CLI help
-v, --verbose
EXAMPLE
$ ts login 'username' 'password'
See code: src/commands/login.ts
talksuite ludown-to-luis SOURCE OUT
Converts a ludown file into a LUIS json file.
USAGE
$ talksuite ludown-to-luis SOURCE OUT
ARGUMENTS
SOURCE Source file
OUT Output file
OPTIONS
-h, --help show CLI help
-v, --verbose
EXAMPLES
$ ts ludown-to-luis
First - $ ts luis-to-ludown .\build\BotServices\luis\iTrent.json .\tmp.txt
Then - $ ts ludown-to-luis .\tmp.txt .\build\BotServices\luis\iTrent.json
See code: src/commands/ludown-to-luis.ts
talksuite luis-to-ludown SOURCE OUT
Converts a luis json file into a ludown file.
USAGE
$ talksuite luis-to-ludown SOURCE OUT
ARGUMENTS
SOURCE Source file
OUT Output file
OPTIONS
-h, --help show CLI help
-v, --verbose
EXAMPLE
$ ts luis-to-ludown
See code: src/commands/luis-to-ludown.ts
talksuite migrate-bot ORGID BOTID TEMPLATENAME
Updates a Bot from a template
USAGE
$ talksuite migrate-bot ORGID BOTID TEMPLATENAME
ARGUMENTS
ORGID Organisation ID or name
BOTID Bot ID or name
TEMPLATENAME Bot template name
OPTIONS
-h, --help show CLI help
-v, --verbose Turn on the additional log messages.
EXAMPLE
$ ts migrate-bot
See code: src/commands/migrate-bot.ts
talksuite update-all-processes NAME HOURS MINUTES [ORGID]
Updates all processes on all bots in an org
USAGE
$ talksuite update-all-processes NAME HOURS MINUTES [ORGID]
ARGUMENTS
NAME The name of the process
HOURS The hour when the process should trigger
MINUTES The minute when the process should trigger
ORGID Organisation ID or name
OPTIONS
-h, --help show CLI help
-j, --json Returns in JSON format, not in a human readable form
-v, --verbose
EXAMPLE
$ ts update-all-processes
See code: src/commands/update-all-processes.ts
talksuite validate-bots ORGID [BOTID]
Compares a bot against its template showing any misconfigurations and potentially performing simple fixes
USAGE
$ talksuite validate-bots ORGID [BOTID]
ARGUMENTS
ORGID Organisation ID or name
BOTID Bot ID or name
OPTIONS
-h, --help show CLI help
-u, --update update constants that are not valid against the templates
-v, --verbose
EXAMPLE
$ ts validate-bots
See code: src/commands/validate-bots.ts
talksuite validate-content CONTENTDIR
Validates local dialogues to isolate problems
USAGE
$ talksuite validate-content CONTENTDIR
ARGUMENTS
CONTENTDIR Directory to scan
OPTIONS
-h, --help show CLI help
-v, --verbose
EXAMPLE
$ ts validate-content
See code: src/commands/validate-content.ts
talksuite validate-project ORGID PROJECTID
Validates dialogues and languages of the specified project against global and themselves
USAGE
$ talksuite validate-project ORGID PROJECTID
ARGUMENTS
ORGID Organisation ID or name that contains the project
PROJECTID Project ID or Name to validate
OPTIONS
-h, --help show CLI help
-v, --verbose
EXAMPLE
$ ts validate-project
See code: src/commands/validate-project.ts
talksuite create-bot-template ORGID BOTID NAME
talksuite export-bots CONTENTDIR [ORGID] [BOTID]
talksuite export-content CONTENTDIR [ORGID] [PROJECTID]
talksuite help [COMMAND]
talksuite import-bots CONTENTDIR [ORGID] [BOTID]
talksuite import-content CONTENTDIR [ORGID] [PROJECTID] [REMOTEPROJECTID]
talksuite list-bots [ORGID]
talksuite list-dialogues [ORGID] [PROJECTID]
talksuite list-orgs
talksuite list-processes [ORGID]
talksuite list-projects [ORGID]
talksuite login [ENV] [EMAIL] [PASSWORD]
talksuite ludown-to-luis SOURCE OUT
talksuite luis-to-ludown SOURCE OUT
talksuite migrate-bot ORGID BOTID TEMPLATENAME
talksuite update-all-processes NAME HOURS MINUTES [ORGID]
talksuite validate-bots ORGID [BOTID]
talksuite validate-content CONTENTDIR
talksuite validate-project ORGID PROJECTID
talksuite create-bot-template ORGID BOTID NAME
Creates a bot template to be used to ensure the correct configuration of all bots of the same type
USAGE
$ talksuite create-bot-template ORGID BOTID NAME
ARGUMENTS
ORGID Organisation ID or name containing the bot
BOTID Bot ID or name of the bot to create template form
NAME Name of the bot template
OPTIONS
-h, --help show CLI help
-v, --verbose
EXAMPLE
$ ts create-bot-template
See code: src/commands/create-bot-template.ts
talksuite export-bots CONTENTDIR [ORGID] [BOTID]
Exports bots for backup or editing locally
USAGE
$ talksuite export-bots CONTENTDIR [ORGID] [BOTID]
ARGUMENTS
CONTENTDIR Directory to output to
ORGID Organisation ID or name
BOTID Bot ID or name
OPTIONS
-h, --help show CLI help
-v, --verbose
EXAMPLE
$ ts export-bots
See code: src/commands/export-bots.ts
talksuite export-content CONTENTDIR [ORGID] [PROJECTID]
Exports dialogues, languages, and projects to the local file system
USAGE
$ talksuite export-content CONTENTDIR [ORGID] [PROJECTID]
ARGUMENTS
CONTENTDIR Directory to output to
ORGID Organisation ID or name
PROJECTID Project ID or name
OPTIONS
-g, --guid Stores in a human readable folder structure.
-h, --help show CLI help
-v, --verbose
EXAMPLE
$ ts export-content
See code: src/commands/export-content.ts
talksuite help [COMMAND]
display help for talksuite
USAGE
$ talksuite help [COMMAND]
ARGUMENTS
COMMAND command to show help for
OPTIONS
--all see all commands in CLI
See code: @oclif/plugin-help
talksuite import-bots CONTENTDIR [ORGID] [BOTID]
Imports bots from local files into talksuite
USAGE
$ talksuite import-bots CONTENTDIR [ORGID] [BOTID]
ARGUMENTS
CONTENTDIR Directory to output to
ORGID Organisation ID or name
BOTID Bot ID or name
OPTIONS
-h, --help show CLI help
-v, --verbose
EXAMPLE
$ ts import-bots
See code: src/commands/import-bots.ts
talksuite import-content CONTENTDIR [ORGID] [PROJECTID] [REMOTEPROJECTID]
Imports the local copies of dialogues, languages, and projects into talksuite
USAGE
$ talksuite import-content CONTENTDIR [ORGID] [PROJECTID] [REMOTEPROJECTID]
ARGUMENTS
CONTENTDIR Directory to import from
ORGID Organisation ID or name to import into
PROJECTID Project ID or name to import from
REMOTEPROJECTID Project ID or name to import into
OPTIONS
-d, --delete Remove Content and projects that aren't being imported.
-h, --help show CLI help
-i, --ignore Ignore import order pre-checking.
-v, --disableValidate Disable cross dialogue validation of the dialogues.
-v, --verbose
EXAMPLE
$ ts import-content
See code: src/commands/import-content.ts
talksuite list-bots [ORGID]
Lists the bots in an organisation talksuite.
USAGE
$ talksuite list-bots [ORGID]
ARGUMENTS
ORGID Organisation ID
OPTIONS
-h, --help show CLI help
-j, --json Returns in JSON format, not in a human readable form.
-v, --verbose
EXAMPLE
$ ts list-bot
See code: src/commands/list-bots.ts
talksuite list-dialogues [ORGID] [PROJECTID]
Lists the dialogues in an organisation talksuite.
USAGE
$ talksuite list-dialogues [ORGID] [PROJECTID]
ARGUMENTS
ORGID Organisation ID or name
PROJECTID Project ID or name
OPTIONS
-h, --help show CLI help
-j, --json Returns in JSON format, not in a human readable form.
-v, --verbose
EXAMPLE
$ ts list-dialogues
See code: src/commands/list-dialogues.ts
talksuite list-orgs
Lists all your organisations in talksuite.
USAGE
$ talksuite list-orgs
OPTIONS
-h, --help show CLI help
-j, --json Returns in JSON format, not in a human readable form.
-v, --verbose
EXAMPLE
$ ts list-orgs
See code: src/commands/list-orgs.ts
talksuite list-processes [ORGID]
Lists the bots and their processes in an organisation talksuite.
USAGE
$ talksuite list-processes [ORGID]
ARGUMENTS
ORGID Organisation ID
OPTIONS
-h, --help show CLI help
-j, --json Returns in JSON format, not in a human readable form.
-v, --verbose
EXAMPLE
$ ts list-processes
See code: src/commands/list-processes.ts
talksuite list-projects [ORGID]
Lists the projects in a talksuite organisation.
USAGE
$ talksuite list-projects [ORGID]
ARGUMENTS
ORGID Organisation ID
OPTIONS
-h, --help show CLI help
-j, --json Returns in JSON format, not in a human readable form.
-v, --verbose
EXAMPLE
$ ts list-projects
See code: src/commands/list-projects.ts
talksuite login [ENV] [EMAIL] [PASSWORD]
Login to talksuite to allow command line access.
USAGE
$ talksuite login [ENV] [EMAIL] [PASSWORD]
ARGUMENTS
ENV [default: produks] Base url to create http calls from (only applicable for internal talksuite development)
if you're scripting a login use produks
EMAIL Email that you would use to log into talksuite
PASSWORD Password to use
OPTIONS
-h, --help show CLI help
-v, --verbose
EXAMPLE
$ ts login 'username' 'password'
See code: src/commands/login.ts
talksuite ludown-to-luis SOURCE OUT
Converts a ludown file into a LUIS json file.
USAGE
$ talksuite ludown-to-luis SOURCE OUT
ARGUMENTS
SOURCE Source file
OUT Output file
OPTIONS
-h, --help show CLI help
-v, --verbose
EXAMPLES
$ ts ludown-to-luis
First - $ ts luis-to-ludown .\build\BotServices\luis\iTrent.json .\tmp.txt
Then - $ ts ludown-to-luis .\tmp.txt .\build\BotServices\luis\iTrent.json
See code: src/commands/ludown-to-luis.ts
talksuite luis-to-ludown SOURCE OUT
Converts a luis json file into a ludown file.
USAGE
$ talksuite luis-to-ludown SOURCE OUT
ARGUMENTS
SOURCE Source file
OUT Output file
OPTIONS
-h, --help show CLI help
-v, --verbose
EXAMPLE
$ ts luis-to-ludown
See code: src/commands/luis-to-ludown.ts
talksuite migrate-bot ORGID BOTID TEMPLATENAME
Updates a Bot from a template
USAGE
$ talksuite migrate-bot ORGID BOTID TEMPLATENAME
ARGUMENTS
ORGID Organisation ID or name
BOTID Bot ID or name
TEMPLATENAME Bot template name
OPTIONS
-h, --help show CLI help
-v, --verbose Turn on the additional log messages.
EXAMPLE
$ ts migrate-bot
See code: src/commands/migrate-bot.ts
talksuite update-all-processes NAME HOURS MINUTES [ORGID]
Updates all processes on all bots in an org
USAGE
$ talksuite update-all-processes NAME HOURS MINUTES [ORGID]
ARGUMENTS
NAME The name of the process
HOURS The hour when the process should trigger
MINUTES The minute when the process should trigger
ORGID Organisation ID or name
OPTIONS
-h, --help show CLI help
-j, --json Returns in JSON format, not in a human readable form
-v, --verbose
EXAMPLE
$ ts update-all-processes
See code: src/commands/update-all-processes.ts
talksuite validate-bots ORGID [BOTID]
Compares a bot against its template showing any misconfigurations and potentially performing simple fixes
USAGE
$ talksuite validate-bots ORGID [BOTID]
ARGUMENTS
ORGID Organisation ID or name
BOTID Bot ID or name
OPTIONS
-h, --help show CLI help
-u, --update update constants that are not valid against the templates
-v, --verbose
EXAMPLE
$ ts validate-bots
See code: src/commands/validate-bots.ts
talksuite validate-content CONTENTDIR
Validates local dialogues to isolate problems
USAGE
$ talksuite validate-content CONTENTDIR
ARGUMENTS
CONTENTDIR Directory to scan
OPTIONS
-h, --help show CLI help
-v, --verbose
EXAMPLE
$ ts validate-content
See code: src/commands/validate-content.ts
talksuite validate-project ORGID PROJECTID
Validates dialogues and languages of the specified project against global and themselves
USAGE
$ talksuite validate-project ORGID PROJECTID
ARGUMENTS
ORGID Organisation ID or name that contains the project
PROJECTID Project ID or Name to validate
OPTIONS
-h, --help show CLI help
-v, --verbose
EXAMPLE
$ ts validate-project
See code: src/commands/validate-project.ts