Skip to content

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.

License

Notifications You must be signed in to change notification settings

abhisekmazumdar/idk

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

I Don't Know ~ A simple script that knows for you.

IDK (I Don't Know) is a command-line tool that simplifies local development with ddev and lando by automatically detecting which one to use for each project.

If you are someone who uses ddev & lando in your day to day local development workflow and you get confused or don't remember which project you used which for, this script will know for you.

This is just an initial idea; a lot can be built covering this type of scenario.

Installation

After cloning this repo, you might need to make the idk/script.sh file executable:

chmod +x ~/idk/script.sh

Then create an alias:

alias idk="~/idk/script.sh"

If 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

Usage

cd path/to/a/drupal/project

# Use the newly created alias in place of ddev or lando.
idk start

# Use it the same way you would have ran composer commands.
idk composer instal

# Use it the same way you would have used other commands.
idk ssh

Each time you run idk like the above said examples, it will show you whether it is using ddev or lando.

Contributing

Contributions 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.

License

MIT

About

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.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages