{"id":13538249,"url":"https://github.com/metaory/hgit-cli","last_synced_at":"2025-04-02T05:31:07.506Z","repository":{"id":56772356,"uuid":"523990057","full_name":"metaory/hgit-cli","owner":"metaory","description":":rocket: Streamline and Simplify complex processes (a beautiful unopinionated config based workflow engine)","archived":true,"fork":false,"pushed_at":"2022-09-24T15:16:06.000Z","size":2665,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-10T16:17:32.189Z","etag":null,"topics":["ci","ci-cd","cli","command-line","conflict-detection","console","git","git-flow","hgit","pipeline","pipelines","script-engine","task","task-runner","terminal","tui","workflow","workflow-automation","workflow-engine"],"latest_commit_sha":null,"homepage":"https://npmjs.com/package/hgit","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/metaory.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2022-08-12T07:09:34.000Z","updated_at":"2023-01-27T20:52:06.000Z","dependencies_parsed_at":"2023-01-18T18:35:17.267Z","dependency_job_id":null,"html_url":"https://github.com/metaory/hgit-cli","commit_stats":null,"previous_names":[],"tags_count":288,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/metaory%2Fhgit-cli","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/metaory%2Fhgit-cli/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/metaory%2Fhgit-cli/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/metaory%2Fhgit-cli/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/metaory","download_url":"https://codeload.github.com/metaory/hgit-cli/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246763800,"owners_count":20829794,"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":["ci","ci-cd","cli","command-line","conflict-detection","console","git","git-flow","hgit","pipeline","pipelines","script-engine","task","task-runner","terminal","tui","workflow","workflow-automation","workflow-engine"],"created_at":"2024-08-01T09:01:08.737Z","updated_at":"2025-04-02T05:31:07.099Z","avatar_url":"https://github.com/metaory.png","language":"JavaScript","readme":"\n# :zap: [[ Poject moved to [npm/mxflow](https://www.npmjs.com/package/mxflow) ]]\n\n---\n---\n---\n\n# hgit\n\n### :rocket: a beautiful unopinionated config based workflow **engine**\n# Streamline and Simplify complex processes\n\n## a CICD for local machines\n\n\u003cp align=\"center\"\u003e\n  \u003cimg width=\"75%\" src=\"https://raw.githubusercontent.com/wiki/metaory/hgit-cli/assets/2022-09-22-213922_990x1046_scrot.png\"\u003e\n  \u003c!-- \u003cimg width=\"75%\" src=\"https://raw.githubusercontent.com/wiki/metaory/hgit-cli/assets/2022-09-20-003715_1026x1000_scrot.png\"\u003e --\u003e\n\u003c/p\u003e\n\n---\n\n\u003c!-- ![hgit v0.47.1](https://raw.githubusercontent.com/wiki/metaory/hgit-cli/assets/gifcast_220922214148.gif) --\u003e\n\n![hgit v0.47.15](https://raw.githubusercontent.com/wiki/metaory/hgit-cli/assets/gifcast_220923200431.gif)\n\u003c!-- ![hgit v0.47.14](https://raw.githubusercontent.com/wiki/metaory/hgit-cli/assets/gifcast_220923195037.gif) --\u003e\n\u003c!-- ![hgit v0.47.13](https://raw.githubusercontent.com/wiki/metaory/hgit-cli/assets/gifcast_220923175552.gif) --\u003e\n\n\n\u003c!-- ![hgit v0.42.1-2](https://raw.githubusercontent.com/wiki/metaory/hgit-cli/assets/gifcast_220920203311.gif) --\u003e\n\n\u003c!-- ![hgit v0.32.5-0](https://raw.githubusercontent.com/wiki/metaory/hgit-cli/assets/gifcast_220916124849.gif) --\u003e\n\u003c!-- ![hgit v0.32.3](https://raw.githubusercontent.com/wiki/metaory/hgit-cli/assets/gifcast_220916123031.gif) --\u003e\n\nRequirements\n============\n- Node 16.x\n\n# Sample Config\n\n\u003cdetails\u003e\n  \u003csummary\u003esample-generated-config-file\u003c/summary\u003e\n\n\n  ```yaml\n  config_version: 0.47.0\n  graph_git_log_limit: 40\n  issue_tracker: jira\n  issue_tracker_tenant: metaory\n  sleep_between_commands: 1000\n  workflows:\n    foo:\n      description: example placeholder\n      pattern: '{branchType}/{taskId}-{description}'\n      steps:\n        - git fetch origin\n        - git checkout master\n        - git merge origin/master\n        - git checkout -b {branchName}\n        - git status\n        - confirm git push --set-upstream origin {branchName}\n        - list logs\n    bar:\n      description: example placeholder\n      branch: xorg/{description}\n      steps:\n        - git fetch origin\n        - git checkout master\n        - git merge origin/master\n        - autocomplete checkout xorg\n        - git checkout -b {branchName}\n        - git status\n        - confirm git push --set-upstream origin {branchName}\n        - list logs\n    xorg:\n      description: example placeholder\n      steps:\n        - echo hello word\n        - echo goodbye cruel world\n        - confirm echo goodbye\n  ```\n\u003c/details\u003e\n\n[sample-git-workflow](https://github.com/metaory/hgit-cli/wiki/Git-Workflow-Sample)\n\n---\nConfig Behaviours\n=================\n\n### Special commands:\n- `list logs` _list last n pretty graph log_\n- `autocomplete checkout {pattern}` _prompt checkout the pattern branch_\n- `confirm {commandName}` _adds confirmation step to command_\n\n---\n\nFeatures\n========\n- check for `conflict` between multiple remote branch\n- start new workflows from a `config` file \n- **ALL** commands are read from the config file in `~/.config/hgit/config.yml`\n- `dynamic branch checkout` in workflows with command: `prompt_checkout__{pattern}`\n- `branchNamePattern` from config: `{branchType}.branch_pattern`\n- add `confirm ` to commands for a confirmation prompt before the command\n\n---\n\nnpx\n===\n    npx hgit\n\nInstallation\n============\n    npm i -g hgit\n\nUsage\n=====\n    hgit\n    hgit --trigger foobar\n\nOptions\n=======\n    --verbose                 | verbose logs\n    --trigger \u003cworkflow-name\u003e | non-interactive workflow trigger\n\nRoadmap\n=======\n\n- [X] project based config file\n- [ ] plugin system for dynamic lists\n- [ ] aurgument mode\n- [ ] argument autocomplete\n\n***\n\n            ___           ___\n           /__/\\         /  /\\        ___           ___\n           \\  \\:\\       /  /:/_      /  /\\         /  /\\\n            \\__\\:\\     /  /:/ /\\    /  /:/        /  /:/\n        ___ /  /::\\   /  /:/_/::\\  /__/::\\       /  /:/\n       /__/\\  /:/\\:\\ /__/:/__\\/\\:\\ \\__\\/\\:\\__   /  /::\\\n       \\  \\:\\/:/__\\/ \\  \\:\\ /~~/:/    \\  \\:\\/\\ /__/:/\\:\\\n        \\  \\::/       \\  \\:\\  /:/      \\__\\::/ \\__\\/  \\:\\\n         \\  \\:\\        \\  \\:\\/:/       /__/:/       \\  \\:\\\n          \\  \\:\\        \\  \\::/        \\__\\/         \\__\\/\n           \\__\\/         \\__\\/\n\n\n\u003c!----\u003e\n\u003c!-- ![hgit v0.30.1-1](https://raw.githubusercontent.com/wiki/metaory/hgit-cli/assets/gifcast_220914224723.gif) --\u003e\n\u003c!-- --- --\u003e\n\u003c!-- ![hgit v0.30.1-1](https://raw.githubusercontent.com/wiki/metaory/hgit-cli/assets/gifcast_220914223020.gif) --\u003e\n\u003c!-- --- --\u003e\n\u003c!-- ![hgit v0.27.2](https://raw.githubusercontent.com/wiki/metaory/hgit-cli/assets/gifcast_220913235153.gif) --\u003e\n\n","funding_links":[],"categories":["JavaScript"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmetaory%2Fhgit-cli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmetaory%2Fhgit-cli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmetaory%2Fhgit-cli/lists"}