{"id":18544088,"url":"https://github.com/swagdevops/bohu","last_synced_at":"2025-05-15T05:31:11.467Z","repository":{"id":172973427,"uuid":"144906118","full_name":"SwagDevOps/bohu","owner":"SwagDevOps","description":null,"archived":false,"fork":false,"pushed_at":"2023-07-17T21:19:26.000Z","size":140,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-17T09:15:12.823Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/SwagDevOps.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-08-15T21:40:58.000Z","updated_at":"2021-05-16T09:09:39.000Z","dependencies_parsed_at":null,"dependency_job_id":"6fdb07f0-56fb-4db2-a0e6-ae8cc4a2e3fd","html_url":"https://github.com/SwagDevOps/bohu","commit_stats":null,"previous_names":["swagdevops/bohu"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SwagDevOps%2Fbohu","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SwagDevOps%2Fbohu/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SwagDevOps%2Fbohu/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SwagDevOps%2Fbohu/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SwagDevOps","download_url":"https://codeload.github.com/SwagDevOps/bohu/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254281793,"owners_count":22045022,"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":[],"created_at":"2024-11-06T20:15:20.996Z","updated_at":"2025-05-15T05:31:11.444Z","avatar_url":"https://github.com/SwagDevOps.png","language":"Ruby","readme":"# Bohu\n\n``Bohu`` is intended to easyfy filesystem and administrative tasks,\nit provides an application programming interface (API)\nto an abstract operating system making\nit easier and quicker to develop code for multiple software or platforms.\n\n## Shell\n\n``Bohu`` provides ``sh``, ``capture`` and ``capture!`` low-level methods.\nAnd, configuration permits new methods declaration, using dialects.\n\n```yaml\n# config.yml\ncommands:\n  adduser:\n    actions:\n      create_user:\n        assign_password: false\n        login_shell:\n          - '%\u003clogin_shell\u003es'\n          - '/bin/bash'\n          login: '%\u003clogin\u003es'\n```\n\n```yaml\n# dialects/default/adduser.yml\nsystem: ['-S', true]\nlogin_shell: ['-s', '%\u003clogin_shell\u003es']\nassign_password: ['-D', false]\n```\n\nCommands are built from ``commands`` configuration, and uses a dialect.\nDialect is responsible to transform known options into command line options.\nConfig permits to choose used dialect by a command:\n\n```yaml\ncommands:\n   adduser:\n     dialect: default\n     executable: adduser\n ```\n\nDialects paths can be added by configuration:\n\n```yaml\ndialects:\n  paths:\n    - dialects\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fswagdevops%2Fbohu","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fswagdevops%2Fbohu","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fswagdevops%2Fbohu/lists"}