powerbi-cli
Version:
Power BI command line interface for managing Power BI Embedded workspace collections
46 lines (31 loc) • 790 B
Markdown
# Contributing
## Setup
Clone the repository:
```
git clone https://github.com/Microsoft/PowerBI-Cli.git powerbi-cli
```
Navigate to the cloned directory
Install typescript and local dependencies - you need to run it only once.
```
npm run precontrib
```
## Build:
```
npm run contrib
```
## Running the CLI
Navigate to `/bin` directory and run cli file using node.
```
cd bin & node cli
```
## Running specific command:
Navigate to `/bin` directory and run specific cli file using node.
Example:
```
cd bin & node cli-get-datasets -c <collection> -w <workspace> -k <accessKey>
```
## Debug in Visual Studio Code
1) Change .vscode\launch.json file:
1.1) Set in program the command you want to debug.
1.2) Set in args the arguments for this command.
2) Run (Ctrl + F5)