This week with Fly:
- We show you how to use Fly to build your own GraphQL APIs.
- Firefox is switching DNS over HTTPS (DoH) on by default in the USA. We already have a great guide to using Fly as your private DoH service.
- Fly’s new community portal for Fly users is now open on Spectrum.chat/flyio - Sign in with your Github or social media login and chat with the Fly team.
- Spreading the Fly word! We launched Turboku on Product Hunt.
Get yourself to fly.io/heroku to try out Turboku, the art of faster Heroku apps.
Fly Notes - We Complete You
Being able to hit the [TAB] key and getting the possible next part of your command makes discovering command lines so much easier. The good news is that, from version 0.0.96, Fly’s command line generates the files you need so you can activate tab completion.
Flyctl’s version
command has a -c
/--completion
option which takes a shell name as a parameter, bash
or zsh
. Run flyctl version -c zsh
and it will output the file you need to activate completions for flyctl. Typically running
flyctl version -c zsh > $fpath[1]/_flyctl
should place the generated file in the right directory to be picked up when you log in next.
Bash users will have to decide where to store their generated file and source
it in their .bashrc
- there’s no default directory for completions on bash.
Don’t forget to update your flyctl for this feature!