Skip to content
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

Add support for implementing commands in the new CLI alone #78

Open
1 of 2 tasks
akalipetis opened this issue Jun 27, 2023 · 2 comments
Open
1 of 2 tasks

Add support for implementing commands in the new CLI alone #78

akalipetis opened this issue Jun 27, 2023 · 2 comments
Labels

Comments

@akalipetis
Copy link
Member

akalipetis commented Jun 27, 2023

Currently, we have only implemented project:init command in the new CLI. This command was separate and did not need interoperability with the Legacy CLI, in terms of authentication and configuration.

We should implement that foundation, in order to be able to work on new commands in the new CLI.

Tasks

Preview Give feedback
  1. CLI
  2. pjcdawkins
@akalipetis akalipetis added the CLI label Jul 2, 2024 — with Linear
@dman-coders
Copy link

dman-coders commented Aug 12, 2024

I'm guessing that the difference between legacy and only-new commands like this is also what causes the "did you mean" suggestion to be unaware of the new command(s) also?

https://platformsh.slack.com/archives/C05RZU4ES8G/p1723439099274829

upsun init

[CommandNotFoundException]      
Command "init" is not defined.  
Did you mean one of these?      
environment:init            
int:act                     

^ does not even suggest project:init, which is what I expected as the default.

Is there any way these commands can be indexed in a unified way, or is that a lot of work for small gain?

@akalipetis
Copy link
Member Author

Yes, that's the reason this does not work, although init would not work even after this has been implements - you can use ify as a shortcut if you want.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants