✨ Add app.PickFileWithConf()
This commit is contained in:
parent
9f9660b391
commit
871db79c19
2 changed files with 23 additions and 1 deletions
|
|
@ -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?")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue