[DOCUMENTATION] I managed to make an aero alias for aeroftp-cli
#273
Replies: 7 comments 5 replies
-
|
Hi @EhudKirsh, Thanks for pushing on this. You are right: I am adding a tiny native dispatcher so the short name is not just a personal shell trick but a first-class, shipped capability. Concretely, after this lands:
Internally this is one small dispatcher binary that inspects how it was called and hands off to the right payload (GUI or CLI), passing arguments, signals and exit codes through untouched. It is designed "GUI by default": anything ambiguous opens the GUI, so file associations and launcher entries can never be swallowed by accident. About the name: I evaluated several short options before deciding: You proposed So I am doing the next best thing, and it gives you exactly the name you wanted: The shipped set would be:
Before I lock this in: does this split work for you? Specifically, are you happy with One more thing: the dispatcher is also an architectural unlock, not just a shortcut. It turns Thanks again for the nudge and for documenting your PowerShell recipe in the first place. Let me know your take on the name and I will move. |
Beta Was this translation helpful? Give feedback.
-
|
Quick follow-up, thinking out loud so I do not overcomplicate this. Stepping back: the dispatcher already makes So I am leaning toward keeping it minimal: Does that match what you would like, or do you still see value in a separate short built-in? |
Beta Was this translation helpful? Give feedback.
-
|
I actually prefer having
|
Beta Was this translation helpful? Give feedback.
-
|
Locked in, thanks for the clear call. Final shipped set, as you confirmed:
On the On your AeroVault observation: good eye, and worth clarifying. There is indeed a separate AeroVault repository, and it does ship its own small CLI. That repository is the standalone v2 library plus a v2-only CLI. The AeroVault that ships inside the app is a newer format and is exposed as a first-class subcommand of the main CLI: For the standalone repository itself: it stays the stable v2 library and CLI. The current format work lives in the app while it is still maturing, and the public library will be consolidated to cover everything once that format is finalized and reviewed. I will make this relationship clearer in the public docs so it is not confusing. Thanks again, this was a genuinely useful thread. The dispatcher work can now move. |
Beta Was this translation helpful? Give feedback.
-
|
A couple of extra notes on this, perhaps for the docs:
|
Beta Was this translation helpful? Give feedback.
-
|
Hi @EhudKirsh, thanks for sharing this, and for the two follow-up notes. The Two thoughts on the docs side, both inspired by what you wrote:
We will land that docs change in the next docs.aeroftp.app refresh and link it back here so you can review the page text before we consider this closed. If there is any other naming you would suggest covering in the same section while we are at it, drop a note. Thanks again for the report. |
Beta Was this translation helpful? Give feedback.
-
|
Just my short summary here for the record of crediting and attributing correctly: |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I asked before about shortening
aeroftp-clitoaeroftp. I now managed to make an intuitive alias that's even shorter:aeroI'm not sure what you think of this, or whether being able to do this ever occurred to you, but it might be something interesting to add to the docs.
Much like the rest of the "AeroTheme" (AeroFile, AeroVault, AeroCrypt, etc), I like
aero profiles, because it sounds like it fits it, with it being just the word Aero and another word.Please do note that there are some apps out there that use the
aerosyntax, but I don't use them so they don't cause any conflict for me, and probably most other users. These are Aero Commerce CLI that's scripted in PhP (Composer) and UsageAerobatic CLI that's scripted in NodeJS (npm). Even without my alias, they would cause a conflict issue with each other if both installed, so my alias isn't introducing a new issue. I've never heard of them before, and only discovered them when I asked AI what CLI apps useaero. I think that AeroFTP is more important and can grow bigger than them (if it isn't already), so I don't want to give up onaeroto another app. If theaerosyntax idea is good, AeroFTP should have it instead of other apps.Here's how to make this alias in Windows (I'm sure you'll figure it out in Linux):
notepad $PROFILEin PowerShell.Set-Alias -Name aero -Value aeroftp-cli. $PROFILEaero --versionandaero profilesI still think that
aeroftp-clishould be shortened toaeroftp, but this alias is a quick and reliable way to do it today for users that are interested.Beta Was this translation helpful? Give feedback.
All reactions