fix(functions): support `--all` flag to download all functions by Rooffeell · Pull Request #5005 · supabase/cli
Previously, the command would download all functions when no argument was provided, which could be unexpected. Now, it requires the `--all` flag for that behavior and returns an error if no function name is given without the flag.
The validation that required a function name unless --all flag was used is unnecessary because the command already accepts zero or one argument. Removing this validation aligns with the updated command description that allows downloading all functions when no name is provided.
Rooffeell
changed the title
fix(functions): require explicit flag to download all functions
fix(functions): support --all flag to download all functions
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters