Pick file

This commit is contained in:
Dan Jones 2023-08-29 15:12:26 -05:00
commit afb5953ea0
2 changed files with 11 additions and 1 deletions

View file

@ -18,7 +18,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) {
fmt.Println(files.GetCandidates())
fmt.Println(files.PickRandomFile())
},
}