-
-
Notifications
You must be signed in to change notification settings - Fork 24
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature request: Add $ trellis cd SITE
#92
Comments
$ trellis cd
$ trellis cd SITE
Is |
I mean the site key. Example:
|
🤦♂ of course sorry. Could it be more generic?
And if you only have a single site:
Maybe just "site" could be treated "magically" 🤔 |
How about environments? Example: For the same project, I use valet and my colleagues use vagrant. So, we have 2 local environments. Also leads to the question - Do we |
|
That's a great idea. That would be nice to also list all the websites that were added before and also given them an alias. So instead of writing the whole site name, we could call them by the alias. Example: alias | name or maybe we could select the website from a list using the component promptui if we type: |
Was thinking about this again when I realized that isn't possible to do this the way we want. Processes like The only real alternative is to have a command that outputs the path so people can do |
Summary
Add
$ trellis cd SITE
which$ cd
into bedrock (maybe sage as well) directory.Motivation
So nobody needs to remember
local_path
Additional context
cd
-ing into Bedrock is easy. However, Trellis has no place for sage directory names (unless a better version of roots/trellis#1030 arrives). Thus, Sage might have to wait.This is suggested by @Log1x
The text was updated successfully, but these errors were encountered: