Changes

Jump to: navigation, search

TVCli Commands Reference

264 bytes added, 19:46, 11 August 2021
Marked this version for translation
<languages/>
<translate>
== TVCli Commands Reference ==<!--T:27-->
<div style="float: right;">__TOC__</div>
<!--T:28-->
Here you can read about the commands and options available for TVCli.
=== import_file ===<!--T:29-->
<!--T:30-->
'''TVCli sending data to a DataMart'''
<!--T:31-->
Use '''import_file''' to send data to a DataMart
You can see a [[Automate_Update_data#Updating_your_data_automatically|tutorial]] to help in this process, and we have a [[TVCli_Commands#Data_update_command|graphic wizard]] interface to help you on building a complete command
<!--T:32-->
Command Syntax:
'''tvcli -cmd import_file -user <your TaticView user> -datamart <data file identification code> -file "<file/spreadsheet address>" [-type "<type>"] [-wait [-notifyshare]] [-nonotifyerror]
'''Call "C:\Program Files\TvCli\tvcli" -cmd import_file -user myemail@email.com -datamart 246 -file "D:\taticview\imp\spreadsheet.xlsx" -wait'''
=== get_token_by_password ===<!--T:33-->
<!--T:34-->
'''TVCli get new token'''
<!--T:35-->
Use '''get_token_by_password''' command to request the generation of a new '''[[Manage_Access#Tokens|Access TOKEN]]'''.
<!--T:36-->
You can see a [[Automate_Update_data#Updating_your_data_automatically|tutorial]] to help in this process, and we have a [[TVCli_Commands#Token_creation_command|graphic wizard]] interface to help you on building a complete command
<!--T:37-->
Command Syntax:
'''tvcli -cmd get_token_by_password -user <your TaticView user> -password <your TaticView password> [-token_name "<token name>"]'''
<!--T:38-->
-cmd - get_token_by_password - The command responsible for requesting and storing the Access TOKEN on the TVCli settings.
-user - Your TaticView user (access e-mail).
-token_name (optional) - The name you want to set to your Access TOKEN. The default name '''TaticView CLI''' will be set if you do not specify a name.
<!--T:39-->
Example:
'''tvcli -cmd get_token_by_password -user myemail@email.com -password 123466 -token_name "TVCli Server 1" '''
===version===<!--T:40-->
<!--T:41-->
'''TVCli show version'''
<!--T:42-->
Use the '''version''' command to see which TVCli version is installed on your computer. This command displays the TVCli version on the console and registers it on the TVCli log.
<!--T:43-->
Command Syntax:
'''tvcli -version'''
=== show_logs===<!--T:44-->
<!--T:45-->
'''TVCli show log'''
<!--T:46-->
''since TVCli version 1.1''
<!--T:47-->
Use the '''show_logs''' command to show the log file.
<!--T:48-->
Command Syntax:
'''tvcli -cmd show_logs''' - Show the current day logs'''

Navigation menu