Odooflow is a powerful command-line interface (CLI) tool designed to streamline and automate common workflows in Odoo development. It simplifies tasks like project setup, version control, module management, and deployment, making it easier for developers to work efficiently with Odoo environments.
Odooflow CLI is a command-line interface tool designed to streamline the development workflow for Odoo projects. It helps clone Odoo modules (and their dependencies), handles GitLab lookups, and provides options for deep recursive cloning.
git clone https://github.com/YOUR_USERNAME/odooflow-cli.git
cd odooflow-cli
pip install .
Or install directly from source for development:
pip install -e .
Once installed, you can use the CLI by running:
odooflow clone --url <GIT_REPO_URL> [--branch <BRANCH>] [--deep]
Flag | Description |
---|---|
--url |
Full HTTP URL of the module repo |
--branch |
(Optional) Git branch to clone from |
--deep |
Recursively clone all dependencies |
Clone a single module:
odooflow clone --url https://gitlab.com/mygroup/my_odoo_module.git
Clone with specific branch:
odooflow clone --url https://gitlab.com/mygroup/my_odoo_module.git --branch 17.0
Clone deeply with dependencies:
odooflow clone --url https://gitlab.com/mygroup/my_odoo_module.git --deep
odooflow-cli/
āāā odooflow/
ā āāā __init__.py
ā āāā config.py
ā āāā utils.py
ā āāā gitlab.py
ā āāā clone.py
āāā tests/
āāā README.md
āāā pyproject.toml
āāā setup.py
Contributions are welcome! Please open an issue or submit a pull request with any improvements, bug fixes, or new features.
git checkout -b feature/your-feature
)git commit -am 'Add new feature'
)git push origin feature/your-feature
)This project is licensed under the MIT License. See the LICENSE file for details.
Made with ā¤ļø by Mohammad A. Hamdan