{"id":16651577,"url":"https://github.com/bsorrentino/zx-powerapps-cli","last_synced_at":"2025-07-02T20:33:20.044Z","repository":{"id":43970937,"uuid":"463209590","full_name":"bsorrentino/zx-powerapps-cli","owner":"bsorrentino","description":"zx scripts for interactive use of powerapps cli (PAC).","archived":false,"fork":false,"pushed_at":"2024-02-23T12:18:47.000Z","size":382,"stargazers_count":3,"open_issues_count":2,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-06-03T10:01:42.404Z","etag":null,"topics":["cli","nodejs","powerapps","typescript","zx"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bsorrentino.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-02-24T15:56:41.000Z","updated_at":"2024-10-16T16:28:50.000Z","dependencies_parsed_at":"2024-09-26T10:43:32.463Z","dependency_job_id":null,"html_url":"https://github.com/bsorrentino/zx-powerapps-cli","commit_stats":{"total_commits":104,"total_committers":2,"mean_commits":52.0,"dds":0.125,"last_synced_commit":"ff0e0ee36eaedae88ef3231f13eefa1102a9a183"},"previous_names":[],"tags_count":31,"template":false,"template_full_name":null,"purl":"pkg:github/bsorrentino/zx-powerapps-cli","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bsorrentino%2Fzx-powerapps-cli","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bsorrentino%2Fzx-powerapps-cli/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bsorrentino%2Fzx-powerapps-cli/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bsorrentino%2Fzx-powerapps-cli/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bsorrentino","download_url":"https://codeload.github.com/bsorrentino/zx-powerapps-cli/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bsorrentino%2Fzx-powerapps-cli/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":260432413,"owners_count":23008323,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cli","nodejs","powerapps","typescript","zx"],"created_at":"2024-10-12T09:25:46.355Z","updated_at":"2025-07-02T20:33:20.013Z","avatar_url":"https://github.com/bsorrentino.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![npm](https://img.shields.io/npm/v/@bsorrentino/zx-powerapps-cli.svg)](https://www.npmjs.com/package/@bsorrentino/zx-powerapps-cli)\u0026nbsp;\n\u003cimg src=\"https://img.shields.io/github/forks/bsorrentino/zx-powerapps-cli.svg\"\u003e\u0026nbsp;\n\u003cimg src=\"https://img.shields.io/github/stars/bsorrentino/zx-powerapps-cli.svg\"\u003e\u0026nbsp;\n\u003ca href=\"https://github.com/bsorrentino/zx-powerapps-cli/issues\"\u003e\n\u003cimg src=\"https://img.shields.io/github/issues/bsorrentino/zx-powerapps-cli.svg\"\u003e\u003c/a\u003e\u0026nbsp;\n![npm publishing](https://github.com/bsorrentino/zx-powerapps-cli/actions/workflows/npm-publish.yml/badge.svg)\n\n# zx-powerapps-cli\n\n[ZX] scripts to simplify interactive [Powerapps CLI] (`PAC`) usage\n\n## Getting started \n\n```\nnpm install @bsorrentino/zx-powerapps-cli --save-dev\n```\n\n## Scripts\n\n### zx-clone-flow\n\nClone a flow whitin an exported solution on local file system.\n\u003e This script doesn't require connection to dataverse environment\n\n#### Usage \n```\nnpx zx-clone-flow [--solution \u003csolution folder\u003e] [--flow \u003cflow json file name\u003e] [--uuid \u003cnew flow uuid\u003e]\n```\n##### Interactive arguments :\n1. **Local solution's folder** (could provide it on command line using: `--solution` ).  \n1. **Flow json file name** in the form `\u003cPrefix\u003e-XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX.json` present in `\u003csolution path\u003e/Worlflows` (could provide it on command line using: `--flow` )\n\n##### Non-Interactive arguments :\n1. **New Flow UUID** in the form `XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX`, if not provided a new one will be automatically generated\n\n### zx-export-solution\nExport solution from powerapps a environment unpacking and saving it on local file system.\n\u003e Solution is exported in both **Managed** and **Unmanged** package type\n\n#### Usage \n```\nnpx zx-export-solution  [--authindex \u003cn\u003e] \n                        [--solution \u003csolution name\u003e] \n                        [--keepzip]\n                        [--unpackonly]\n```\n##### Interactive arguments :\nif `--unpackonly` is not specified\n   1. **Authentication profile's index** (could provide it on command line using: `--authindex` ).\n   1. **Solution's name** that you've to export (could provide it on command line using: `--solution` ). \n      \u003e Take note that available solutions will be displayed before\n   1. **Publish customization**\n   1. **Create settings**\n      \u003e the file generated will be `\u003csolution\u003e_settings/\u003cauth profile\u003e_settings.json`\n\nif `--unpackonly` is specified    \n   1. **solution zip file** (could provide it on command line using: `--zipfile` ).\n   1. **Package type** that you've to export `Managed, Unmanaged, Both` (could provide it on command line using: `--package` ). \n   1. **Local solution's folder** (could provide it on command line using: `--solution` ). \n##### Non-Interactive arguments :\n* `--keepzip` : keeps original exported packages zip\n* `--unpackonly` : perform only solution unpacking and skips export \n\n### zx-import-solution\nPack solution from local file system and import it in a powerapps environment \n\n#### Usage \n```\nnpx zx-import-solution  [--authindex \u003cn\u003e] \n                        [--solution \u003csolution folder\u003e] \n                        [--package Managed|Unmanaged|Both] \n                        [--packonly]\n                        [--noversion]\n                        [--publish-changes]\n```\n##### Interactive arguments :\n\nif `--packonly` is not specified\n   1. **Authentication profile's index** (could provide it on command line using: `--authindex` ).\n   1. **Local solution's folder** (could provide it on command line using: `--solution` ). \n   1. **Use settings file**\n      \u003e This will be asked only if the settings file `\u003csolution\u003e_settings/\u003cauth profile\u003e_settings.json` exists \n\nif `--packonly` is specified\n   1. **Local solution's folder** (could provide it on command line using: `--solution` ). \n\n##### Non-Interactive arguments :\n* `--packonly` : perform only packing and skips import \n* `--noversion` : remove version from generated zip \n* `----publish-changes` : publish your changes upon a successful import \n\n### zx-version-bump\nUpdate local and remote solution's version\n\n#### Usage \n```\nnpx zx-version-bump [--authindex \u003cn\u003e] [--solution \u003csolution folder\u003e]\n```\nSuch command interactively ask for :\n1. Local solution's folder (if not provided on command line) \n1. Version bump strategy **increment build version** / **increment revision version**\n1. Authentication profile's index (if not provided on command line).\n1. Update online version with the same version of the local one\n\n### zx-unpack-msapps\nUnpack canvas app bundles (.msapp) contained in an exported solution\n\n#### Usage \n```\nnpx zx-unpack-msapps [--solution \u003csolution folder\u003e]\n```\nSuch command interactively ask for :\n1. Solution's folder (if not provided on command line) \n\n## Reference \n\n* [Powerapps CLI](https://docs.microsoft.com/en-us/power-apps/developer/data-platform/powerapps-cli#common-commands)\n* [Generating Solution Settings File via the Microsoft Power Platform CLI](https://crmchap.co.uk/generating-solution-settings-file-via-the-microsoft-power-platform-cli/)\n* [Copy/Duplicate a Flow in a Solution]\n\n[Powerapps CLI]: https://docs.microsoft.com/en-us/power-apps/developer/data-platform/powerapps-cli#common-commands\n[ZX]: https://www.npmjs.com/package/zx\n[Powerapps CLI (pac)]: https://docs.microsoft.com/en-us/powerapps/developer/data-platform/powerapps-cli\n[Copy/Duplicate a Flow in a Solution]: https://powerusers.microsoft.com/t5/Building-Flows/Copy-Duplicate-a-Flow-in-a-Solution/td-p/487483","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbsorrentino%2Fzx-powerapps-cli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbsorrentino%2Fzx-powerapps-cli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbsorrentino%2Fzx-powerapps-cli/lists"}