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
npm run contrib
Navigate to /bin
directory and run cli file using node.
cd bin & node cli
Navigate to /bin
directory and run specific cli file using node.
Example:
cd bin & node cli-get-datasets -c <collection> -w <workspace> -k <accessKey>
- 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)