![]() To see available options and usage example type jsreport render -h. With this command you can render pdf, excel, etc directly from your command line, also if you are planning to invoke multiple renders we recommend the usage of -keepAlive option that will start jsreport in background (daemon process) and reuses the same process for future renders (the best performance). To see available options and usage example type jsreport start -h. Starts a jsreport process/server present in current working directory. To see available options and usage example type jsreport win-uninstall -h. Stop and uninstall your project as windows service (WINDOWS ONLY) The nssm additionally writes unexpected errors to the windows event logs where you can try to search if you wan't find relevant info in the standard jsreport logs. The installed service wraps jsreport using nssm which adds auto-restarting logic. To see available options and usage example type jsreport win-install -h. Install your project as a windows service (WINDOWS ONLY) win-installĬommand only available when local version is installed in your project To see available options and usage example type jsreport configure -h. Generates a jsreport configuration file () based on some questions. To see available options and usage example type jsreport repair -h. Repairs current working directory to start a jsreport application (overrides server.js, and package.json if any of them exists and install jsreport if necessary). To see available options and usage example type jsreport init -h. Initializes the current working directory to start a jsreport application (creates server.js,, package.json and install jsreport if necessary). Prints information about a command or a specific topic, you can run "jsreport help -h" to get the list of available topics init The following are the supported commands. To get help about a particular command, you can type jsreport -h to get some instructions about usage and available options for a command. ![]() jsreport render -serverUrl= -user=admin -password=password You can also optionally specify authentication. The commands like render and others can target also remote jsreport instance. This command has many variations and switches however the main usage can look like this: jsreport render The main functionality provided by cli is the report rendering invocation which is implemented in the render command. Usage Starting jsreportĪs mentioned in the download page, the first use-case you touch cli is usually the jsreport installation and server startup. ![]() Please follow to node.js project integration section if you are installing cli into an existing node.js application, because this requires some additional steps. We recommend installing cli extension globally first, doing this will give you a global jsreport command available everywhere in your command line. Please see also its documentation if this distribution is convenient for you. The cli is also integrated directly into the jsreport distributed in the single file executable form. These commands will mainly help you to quickly start server or invoke report rendering right from the command line, but the feature list served by the cli is much longer. ![]() Command line interface for jsreport BasicsĬli extension will give you a command line interface that will let you execute some tasks, known as commands. ![]()
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |