Sign in to anfra Cloud and publish from the CLI
`anfra auth login` signs you in to an anfra Cloud organization from your browser, and `anfra publish` sends it your repo.
anfra auth login https://us.anfra.ai/o/acme
anfra publish --set-org https://us.anfra.ai/o/acmeanfra auth login opens your browser to approve the CLI, and saves the login in ~/.anfra/credentials.json. You can sign in to several organizations: anfra auth status lists them and anfra auth logout removes one. Run without an address, anfra auth login lets you pick.
anfra publish validates the repo, then sends its .aml files and everything under apps/, nothing else. --set-org saves the organization in .anfra/config.yml, so commit that file and everyone publishes to the same place. anfra publish check lists what a publish would send, without signing in.
Publishing to anfra Cloud's beta at us.anfra.ai needs anfra 0.19 or later.