790 B
790 B
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
- 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.
- Run (Ctrl + F5)