powerbi-cli
Version:
Power BI command line interface for managing Power BI Embedded workspace collections
30 lines • 1.47 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
var program = require("commander");
var Main;
(function (Main) {
var err;
var pkg = require('../package.json');
program.version(pkg.version)
.command('config', 'Set default configuration values')
.command('get-workspaces', 'Gets a list of workspaces within an existing workspace collection')
.command('create-workspace', 'Create a new workspace within an existing workspace collection')
.command('import', 'Import a PBIX file to a workspace')
.command('get-datasets', 'Gets a list of datasets within a workspace')
.command('get-reports', 'Gets a list of reports within a workspace')
.command('update-connection', 'Update the connection string for a datasource')
.command('delete-dataset', 'Deletes a dataset from a workspace')
.command('create-embed-token', 'Creates a Power BI embed token')
.command('clone-report', 'Clones a Power BI report to a new copy')
.command('rebind-report', 'Rebinds a Power BI report with a different dataset');
program.on('--help', function () {
console.log('See help on sub commands');
console.log('');
console.log(' $ powerbi <command> --help');
});
program.parse(process.argv);
if (process.argv.length === 2) {
program.help();
}
})(Main = exports.Main || (exports.Main = {}));
//# sourceMappingURL=main.js.map