Add app.PickFileWithConf()

This commit is contained in:
Dan Jones 2023-09-04 15:36:32 -05:00
commit 871db79c19
2 changed files with 23 additions and 1 deletions

View file

@ -19,7 +19,7 @@ var rootCmd = &cobra.Command{
// Uncomment the following line if your bare application
// has an action associated with it:
Run: func(cmd *cobra.Command, args []string) {
out := app.GetFile()
out := app.PickFileWithConf()
fmt.Printf("%+v\n", out)
// media.Watch(out.Format.Path)
show := boolean.Choose("Show stream?")