From 41805e14536da1fcd4f0dd50f8d7f9c026bbfec8 Mon Sep 17 00:00:00 2001 From: Maina Wycliffe Date: Mon, 10 Feb 2020 00:25:49 +0300 Subject: [PATCH] feat: add global flag for output file --- cmd/root.go | 1 + 1 file changed, 1 insertion(+) diff --git a/cmd/root.go b/cmd/root.go index 37db66c..90b76f9 100644 --- a/cmd/root.go +++ b/cmd/root.go @@ -48,6 +48,7 @@ func init() { // this can be used to pass project alias to sub commands, incase having // multiple projects rootCmd.PersistentFlags().StringP("project", "P", "default", "The firebase project to use") + findUserCmd.PersistentFlags().StringP("output", "o", "", "A file where data from firebase will be saved.") rootCmd.Flags().BoolP("toggle", "t", false, "Help message for toggle") }