{"id":13714299,"url":"https://github.com/abhisekmazumdar/idk","last_synced_at":"2025-06-16T09:33:38.581Z","repository":{"id":165566653,"uuid":"614433406","full_name":"abhisekmazumdar/idk","owner":"abhisekmazumdar","description":"IDK (I Don't Know) is a CLI that simplifies local development with ddev and lando by automatically detecting which one to use for each project.","archived":false,"fork":false,"pushed_at":"2024-03-19T07:13:26.000Z","size":18,"stargazers_count":3,"open_issues_count":3,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-05-07T01:40:48.095Z","etag":null,"topics":["cli","composer","ddev","drupal","drush","go","golang","lando","wordpress"],"latest_commit_sha":null,"homepage":"","language":"Go","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/abhisekmazumdar.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,"zenodo":null}},"created_at":"2023-03-15T15:17:28.000Z","updated_at":"2023-04-02T16:26:01.000Z","dependencies_parsed_at":"2025-05-07T01:38:17.360Z","dependency_job_id":"8020878e-7472-4503-a7d5-aba7467c8308","html_url":"https://github.com/abhisekmazumdar/idk","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/abhisekmazumdar/idk","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abhisekmazumdar%2Fidk","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abhisekmazumdar%2Fidk/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abhisekmazumdar%2Fidk/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abhisekmazumdar%2Fidk/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/abhisekmazumdar","download_url":"https://codeload.github.com/abhisekmazumdar/idk/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abhisekmazumdar%2Fidk/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":260133774,"owners_count":22963793,"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":["cli","composer","ddev","drupal","drush","go","golang","lando","wordpress"],"created_at":"2024-08-02T23:01:56.572Z","updated_at":"2025-06-16T09:33:38.556Z","avatar_url":"https://github.com/abhisekmazumdar.png","language":"Go","funding_links":[],"categories":["Repositories"],"sub_categories":[],"readme":"# I Don't Know ~ A simple CLI that knows for you.\n\n[![Go Report Card](https://goreportcard.com/badge/github.com/abhisekmazumdar/idk)](https://goreportcard.com/report/github.com/abhisekmazumdar/idk)\n\nIDK (I Don't Know) is a CLI that simplifies local development with ddev and lando by automatically detecting which one to use for each project. It can also recognize composer and drush commands in a similar manner.\n\nIf you are someone who uses `ddev` \u0026 `lando` in your day to day local development workflow and you get confused or don't remember which project you used for which, this CLI will know for you.\n\nNote: Identifying `composer` \u0026 `drush` commands are very limited right now.\n\n## Install\n\n### 1. [Download the latest binary](https://github.com/abhisekmazumdar/idk/releases/latest)\n\n### 2. Build binary\n\n- Install Homebrew: https://brew.sh/\n\n- Install go: `brew install go`\n\n- Clone this repo in `$HOME` i.e. `/Users/[user-name]`:\n\n    ```bash\n    gh repo clone abhisekmazumdar/idk\n\n    cd idk\n    # Run go build to create the binary file\n    go build\n    ```\n\n### 3. Go\n```bash\ngo install github.com/abhisekmazumdar/idk@latest\n\n# The above command will create the binary file in ~/go/bin\n```\n\nThen create an alias:\n\n```bash\nalias idk=\"~/go/bin/idk\"\n\n```\n\nIf you have never set up an alias before, follow these steps: [Supercharge Your Terminal Workflow: Step-by-Step Guide to Creating Aliases in Bash and Zsh](https://www.notion.so/abhisekmazumdar/Supercharge-Your-Terminal-Workflow-Step-by-Step-Guide-to-Creating-Aliases-in-Bash-and-Zsh-23b0f7db876e4ceda4f14ae6f2d616b3?pvs=4)\n\n## Usage\n\n```bash\ncd path/to/a/drupal/project\n\n# Use the newly created alias in place of ddev or lando.\nidk start\n\n# Use it the same way you would have ran composer commands.\nidk composer install\n\n# Use it the same way you would have used other commands.\nidk ssh\n\n# also, this will run ddev/lando composer install\nidk install\n\n# this will run ddev/lando drush site-install\nidk site-install\n\n# To know more about the available commands\nidk --help\n\n```\n\nEach time you run `idk` like the above said examples, it will show you whether it is using `ddev` or `lando`.\n\n## Known Issues / Missing Features\n\nIts still a Work In Progress tool. I see many corner case yet to cover like flags sometimes doesn't works. If you find any other issues/bugs kindly open an issue in this repo.\n\n## Contributing\n\nContributions are welcome! To contribute to this project, fork the repository, make your changes, and submit a pull request. For major changes, please open an issue first to discuss what you would like to change.\n\n## License\n\n[MIT](https://choosealicense.com/licenses/mit/)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fabhisekmazumdar%2Fidk","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fabhisekmazumdar%2Fidk","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fabhisekmazumdar%2Fidk/lists"}