Make log/stop/wait work with short id without being in the project, if unique (or show fully qualified name #465
Replies: 2 comments
-
|
I am thinking if there's no naming conflict we should allow users to use short name. (In CLI only) And pf ls should always give full name to avoid misunderstanding. There are two things should be done. Thanks for your report! |
Beta Was this translation helpful? Give feedback.
-
|
I think the behavior with not showing the full name is deliberate (https://pitchfork.en.dev/concepts/namespaces.html#display-behavior) but it seems like a good idea to show it any way. Maybe it should just have it's own column or something Unless the codebase is crazy complex I can probably make the PR myself, that's up to you :) |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hey! I'm checking out pitchfork with the idea of using it as replacement for
pm2in a mono repository.I found it confusing that if I start a service in a project dir, then log/stop/wait won't work in other dirs. I now know that it's because it needs the fully qualified name but it was a bit surprising as
pitchfork lswould show the short id.I think that if there is only a single service with a name, then it should just use that even without the fully qualified name.
If that's not a good idea for some reason, I think
pitchfork lsshould show the fully qualified name if that daemon would require you to use the fully qualified name to engage with it.Reproduction:
Since there is only one service called
serverit won't show the fully qualified name.Also: the getting help section links to github issues which is no longer enabled
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions