npm install -g @fluid-app/fluid-cli @fluid-app/fluid-cli-domains
fluid login
fluid domains add shop.example.com --yes # add it and print the DNS record to create
fluid domains status shop.example.com # check once and print what to do next
fluid domains list
fluid domains remove shop.example.com --yes
Every command prints JSON; failures print a JSON error on stderr and exit
non-zero. add and remove change live configuration, so they ask for
confirmation unless you pass --yes. The full walkthrough is the custom-domain
guided setup at https://docs.fluid.app/setup/custom-domain.