change default height to 10

- with startswith filtering its more reasonable
This commit is contained in:
2025-06-18 06:37:06 +01:00
parent f51302a945
commit e1b879f54c
2 changed files with 3 additions and 3 deletions

View File

@@ -54,7 +54,7 @@ You may also list available templates and generate .gitignore files based on tho
// init initialises the root command and its flags.
func init() {
rootCmd.PersistentFlags().StringP("token", "t", "", "GitHub authentication token")
rootCmd.PersistentFlags().IntP("height", "H", 20, "Height of the selection prompt")
rootCmd.PersistentFlags().IntP("height", "H", 10, "Height of the selection prompt")
rootCmd.PersistentFlags().
StringP("filter", "f", "startswith", "Type of filter to apply to the list of templates (e.g., 'startswith', 'contains')")