-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
f4e7dc5
commit 3c59e0f
Showing
2 changed files
with
33 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,41 @@ | ||
# Dax.Vpax.CLI | ||
|
||
This is a .NET tool that provides CLI access to [VertiPaq-Analyzer](https://github.com/sql-bi/VertiPaq-Analyzer) functions. | ||
|
||
Operations supported by this tool are: | ||
|
||
- Export a VPAX file from a tabular model. | ||
|
||
## How to install the tool | ||
|
||
The tool can be installed using the following command: | ||
|
||
```shell | ||
dotnet tool install -g Dax.Vpax.CLI | ||
````bash | ||
dotnet tool install Dax.Vpax.CLI --global | ||
```` | ||
|
||
## How to run the tool | ||
|
||
````bash | ||
vpax export "C:\output\file.vpax" "Provider=MSOLAP;Data Source=<SERVER>;Initial Catalog=<DATABASE>" | ||
```` | ||
|
||
Use `vpax -?` or `vpax export -?` to learn more. | ||
|
||
``` | ||
Description: | ||
Export a VPAX file from a tabular model | ||
Usage: | ||
vpax export <path> <connection-string> [options] | ||
After installing you can invoke the tool using the `vpax` command. Use `vpax -?` to learn more. | ||
Arguments: | ||
<path> Path to write the VPAX file | ||
<connection-string> Connection string to the tabular model | ||
Options: | ||
--overwrite Overwrite the VPAX file if it already exists [default: False] | ||
--exclude-bim Exclude the BIM model (Model.bim) from the export [default: False] | ||
--exclude-vpa Exclude the VPA model (DaxVpaView.json) from the export [default: False] | ||
-?, -h, --help Show help and usage information | ||
``` |