zooz-cli


Namezooz-cli JSON
Version 1.1.3 PyPI version JSON
download
home_pageNone
SummaryCLI tool for transferring Microsoft Power Pages sites between environments
upload_time2025-07-22 12:22:37
maintainerNone
docs_urlNone
authorNone
requires_python>=3.7
licenseMIT License Copyright (c) 2025 Zooz Tech Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
keywords power-pages cli microsoft dynamics transfer
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # Zooz CLI

A command-line interface tool for transferring Microsoft Power Pages sites between environments.

## Features

- Interactive environment selection from `pac auth list`
- Interactive site selection from `pac pages list`
- Automatic site ID detection from current environment
- Cross-platform compatibility (Mac/Windows)
- Simple and intuitive CLI interface

## Installation

### Prerequisites

- Python 3.7 or higher
- Microsoft Power Platform CLI (`pac`) installed and configured
- PyYAML package (installed automatically)

### Install from PyPI (Recommended)

Install the latest version directly from PyPI:

```bash
pip install zooz-cli
```

Or with pip3:

```bash
pip3 install zooz-cli
```

### Install from source

1. Clone or download the project
2. Navigate to the project directory
3. Install the CLI tool:

```bash
pip install .
```

Or for development:

```bash
pip install -e .
```

## Usage

### Transfer Site Between Environments

Simply run the command and follow the interactive prompts:

```bash
zooz transfer-site
```

### Command Options

- `--download-path`: Path where to download the site (default: `./`)
- `--upload-path`: Path from where to upload the site (default: auto-detected from downloaded folder)

### Examples

```bash
# Basic usage with interactive prompts
zooz transfer-site

# With custom download path
zooz transfer-site --download-path ./downloads

# With both custom paths
zooz transfer-site --download-path ./downloads --upload-path ./uploads
```

## How it works

1. **Source Environment Selection**: Displays available environments from `pac auth list` and prompts for interactive selection
2. **Add New Environments**: Option to add new environments by entering "0" and providing environment URL
3. **Site Selection**: Shows available sites from `pac pages list` in the selected environment and prompts for interactive selection
4. **Download**: Downloads the selected site using `pac pages download`
5. **Auto-Detection**: Automatically finds the downloaded folder for upload
6. **Target Environment Selection**: Prompts for target environment selection
7. **Upload**: Uploads the site from the downloaded folder to the selected target environment using `pac pages upload`
8. **Cleanup**: Automatically deletes the downloaded folder after successful transfer

## Requirements

The tool expects:
- The `pac` CLI to be installed and authenticated with your environments
- Proper permissions to download from source and upload to target environments
- Access to Power Pages sites in both source and target environments

## Project Structure

```
zooz-cli/
├── bin/
│   └── zooz              # Executable wrapper
├── src/
│   └── cli.py           # Main CLI implementation
├── setup.py             # Installation script
└── README.md            # This file
```

## Development

To contribute to this project:

1. Clone the repository
2. Install in development mode: `pip install -e .`
3. Make your changes
4. Test with: `zooz transfer-site /path/to/test/project`

## License

MIT License

## Support

For issues and questions, please contact the development team.

            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "zooz-cli",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.7",
    "maintainer_email": null,
    "keywords": "power-pages, cli, microsoft, dynamics, transfer",
    "author": null,
    "author_email": "Zooz Tech <itzharm@zooz-tech.co.il>",
    "download_url": "https://files.pythonhosted.org/packages/33/bd/03918b543cca0386dd09a6bb58c1361c3e82024171770509aa0686f82735/zooz_cli-1.1.3.tar.gz",
    "platform": null,
    "description": "# Zooz CLI\n\nA command-line interface tool for transferring Microsoft Power Pages sites between environments.\n\n## Features\n\n- Interactive environment selection from `pac auth list`\n- Interactive site selection from `pac pages list`\n- Automatic site ID detection from current environment\n- Cross-platform compatibility (Mac/Windows)\n- Simple and intuitive CLI interface\n\n## Installation\n\n### Prerequisites\n\n- Python 3.7 or higher\n- Microsoft Power Platform CLI (`pac`) installed and configured\n- PyYAML package (installed automatically)\n\n### Install from PyPI (Recommended)\n\nInstall the latest version directly from PyPI:\n\n```bash\npip install zooz-cli\n```\n\nOr with pip3:\n\n```bash\npip3 install zooz-cli\n```\n\n### Install from source\n\n1. Clone or download the project\n2. Navigate to the project directory\n3. Install the CLI tool:\n\n```bash\npip install .\n```\n\nOr for development:\n\n```bash\npip install -e .\n```\n\n## Usage\n\n### Transfer Site Between Environments\n\nSimply run the command and follow the interactive prompts:\n\n```bash\nzooz transfer-site\n```\n\n### Command Options\n\n- `--download-path`: Path where to download the site (default: `./`)\n- `--upload-path`: Path from where to upload the site (default: auto-detected from downloaded folder)\n\n### Examples\n\n```bash\n# Basic usage with interactive prompts\nzooz transfer-site\n\n# With custom download path\nzooz transfer-site --download-path ./downloads\n\n# With both custom paths\nzooz transfer-site --download-path ./downloads --upload-path ./uploads\n```\n\n## How it works\n\n1. **Source Environment Selection**: Displays available environments from `pac auth list` and prompts for interactive selection\n2. **Add New Environments**: Option to add new environments by entering \"0\" and providing environment URL\n3. **Site Selection**: Shows available sites from `pac pages list` in the selected environment and prompts for interactive selection\n4. **Download**: Downloads the selected site using `pac pages download`\n5. **Auto-Detection**: Automatically finds the downloaded folder for upload\n6. **Target Environment Selection**: Prompts for target environment selection\n7. **Upload**: Uploads the site from the downloaded folder to the selected target environment using `pac pages upload`\n8. **Cleanup**: Automatically deletes the downloaded folder after successful transfer\n\n## Requirements\n\nThe tool expects:\n- The `pac` CLI to be installed and authenticated with your environments\n- Proper permissions to download from source and upload to target environments\n- Access to Power Pages sites in both source and target environments\n\n## Project Structure\n\n```\nzooz-cli/\n\u251c\u2500\u2500 bin/\n\u2502   \u2514\u2500\u2500 zooz              # Executable wrapper\n\u251c\u2500\u2500 src/\n\u2502   \u2514\u2500\u2500 cli.py           # Main CLI implementation\n\u251c\u2500\u2500 setup.py             # Installation script\n\u2514\u2500\u2500 README.md            # This file\n```\n\n## Development\n\nTo contribute to this project:\n\n1. Clone the repository\n2. Install in development mode: `pip install -e .`\n3. Make your changes\n4. Test with: `zooz transfer-site /path/to/test/project`\n\n## License\n\nMIT License\n\n## Support\n\nFor issues and questions, please contact the development team.\n",
    "bugtrack_url": null,
    "license": "MIT License\n        \n        Copyright (c) 2025 Zooz Tech\n        \n        Permission is hereby granted, free of charge, to any person obtaining a copy\n        of this software and associated documentation files (the \"Software\"), to deal\n        in the Software without restriction, including without limitation the rights\n        to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n        copies of the Software, and to permit persons to whom the Software is\n        furnished to do so, subject to the following conditions:\n        \n        The above copyright notice and this permission notice shall be included in all\n        copies or substantial portions of the Software.\n        \n        THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n        IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n        FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n        AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n        LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n        OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\n        SOFTWARE.\n        ",
    "summary": "CLI tool for transferring Microsoft Power Pages sites between environments",
    "version": "1.1.3",
    "project_urls": {
        "Homepage": "https://github.com/zooz-tech/zooz-cli",
        "Issues": "https://github.com/zooz-tech/zooz-cli/issues",
        "Repository": "https://github.com/zooz-tech/zooz-cli"
    },
    "split_keywords": [
        "power-pages",
        " cli",
        " microsoft",
        " dynamics",
        " transfer"
    ],
    "urls": [
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "9ff99178732431ed96c52f013653979fef74de5b647f79cc8563cdb8ace9384f",
                "md5": "c3c38b7d584f5072ca82286a0fd31184",
                "sha256": "ec816dc78593f44cbf4595a8b1473eccb025697112a3689de302d6e6571d8a83"
            },
            "downloads": -1,
            "filename": "zooz_cli-1.1.3-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "c3c38b7d584f5072ca82286a0fd31184",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.7",
            "size": 10596,
            "upload_time": "2025-07-22T12:22:36",
            "upload_time_iso_8601": "2025-07-22T12:22:36.330635Z",
            "url": "https://files.pythonhosted.org/packages/9f/f9/9178732431ed96c52f013653979fef74de5b647f79cc8563cdb8ace9384f/zooz_cli-1.1.3-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "33bd03918b543cca0386dd09a6bb58c1361c3e82024171770509aa0686f82735",
                "md5": "7092a949727fc6df3df2877f69140cc7",
                "sha256": "fdc3f4586e1b66c0253e1d008170e3f41ede60861afb94d24c2bdd8f37c14297"
            },
            "downloads": -1,
            "filename": "zooz_cli-1.1.3.tar.gz",
            "has_sig": false,
            "md5_digest": "7092a949727fc6df3df2877f69140cc7",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.7",
            "size": 11773,
            "upload_time": "2025-07-22T12:22:37",
            "upload_time_iso_8601": "2025-07-22T12:22:37.946128Z",
            "url": "https://files.pythonhosted.org/packages/33/bd/03918b543cca0386dd09a6bb58c1361c3e82024171770509aa0686f82735/zooz_cli-1.1.3.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2025-07-22 12:22:37",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "zooz-tech",
    "github_project": "zooz-cli",
    "github_not_found": true,
    "lcname": "zooz-cli"
}
        
Elapsed time: 1.61869s