{"id":15527174,"url":"https://github.com/sixlive/dev-cli","last_synced_at":"2026-05-12T06:37:44.466Z","repository":{"id":66294420,"uuid":"439025905","full_name":"sixlive/dev-cli","owner":"sixlive","description":null,"archived":false,"fork":false,"pushed_at":"2022-01-01T16:29:43.000Z","size":5958,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":5,"default_branch":"main","last_synced_at":"2025-01-13T10:13:57.371Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/sixlive.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2021-12-16T14:50:26.000Z","updated_at":"2022-01-06T16:43:57.000Z","dependencies_parsed_at":"2023-02-22T13:00:51.177Z","dependency_job_id":null,"html_url":"https://github.com/sixlive/dev-cli","commit_stats":{"total_commits":28,"total_committers":2,"mean_commits":14.0,"dds":0.0357142857142857,"last_synced_commit":"bac0da6eca8a129d474a99f6d28b4c4543128511"},"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sixlive%2Fdev-cli","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sixlive%2Fdev-cli/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sixlive%2Fdev-cli/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sixlive%2Fdev-cli/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sixlive","download_url":"https://codeload.github.com/sixlive/dev-cli/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241583967,"owners_count":19986075,"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-10-02T11:04:52.440Z","updated_at":"2026-05-12T06:37:39.443Z","avatar_url":"https://github.com/sixlive.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"```\n██████  ███████ ██    ██      ██████ ██      ██\n██   ██ ██      ██    ██     ██      ██      ██\n██   ██ █████   ██    ██     ██      ██      ██\n██   ██ ██       ██  ██      ██      ██      ██\n██████  ███████   ████        ██████ ███████ ██\n```\n\nA configurable development environment CLI.\n\n## Installation\nHead on over to [releases](https://github.com/sixlive/dev-cli/releases) page and snage a built copy of `dev-cli`. You'll need to make it executable `chmod +x dev-cli` as well.\n\nOn your first run you'll want to create the configuration directory with the default config.\n\n```bash\n./dev-cli install\n```\n\n## Usage\n\n```bash\ndev-cli list\n```\n\n## Configurations\n\n### Configuration Directory\n```bash\n$HOME/.config/dev-cli\n```\n\n### Example Configuration\n\nEnvironment configurations can live in a single or multiple files in within the\nconfiguration directory.\n\n```php\n// $HOME/.config/dev-cli/default.php\n\n\u003c?php\n\n$this-\u003eenv('default', function () {\n    $this-\u003eaction('start', function () {\n        $this-\u003edescription('Start the default dev env');\n        $this-\u003etask('Valet', 'valet start');\n        $this-\u003etask('Open DBngin', 'open /Applications/DBngin.app');\n    });\n\n\n    $this-\u003eaction('stop', function () {\n        $this-\u003edescription('Stop the default dev env');\n        $this-\u003etask('Valet', 'valet stop');\n        $this-\u003etask('Open DBngin', 'open /Applications/DBngin.app');\n    });\n});\n```\n\n```php\n// $HOME/.config/dev-cli/example.php\n\n\u003c?php\n\n$this-\u003eenv('example', function () {\n    $this-\u003eaction('start', function () {\n        $this-\u003edescription('Start the default dev env');\n        $this-\u003etask('Valet', 'valet start');\n        $this-\u003etask('Open DBngin', 'open /Applications/DBngin.app');\n    });\n\n\n    $this-\u003eaction('stop', function () {\n        $this-\u003edescription('Stop the default dev env');\n        $this-\u003etask('Valet', 'valet stop');\n        $this-\u003etask('Open DBngin', 'open /Applications/DBngin.app');\n    });\n});\n\n```\n\n**NOTE**: the `default` env will hoist all actions to top level commands. e.g.\n`dev-cli start` vs `dev-cli example:start`.\n\n```bash\n  USAGE: dev \u003ccommand\u003e [options] [arguments]\n\n  completion         Dump the shell completion script\n  install            install dev-cli\n  self-update        Allows to self-update a build application\n  start              Start the default dev env\n  stop               Stop the default dev env\n\n  example:start      Start the default dev env\n  example:stop       Stop the default dev env\n```\n\n## Development\n### Build\n\n```bash\n./dev-cli app:build\n\nor\n\n./dev-cli app:build --build-version=\"v1.0.0\"\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsixlive%2Fdev-cli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsixlive%2Fdev-cli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsixlive%2Fdev-cli/lists"}