remove small-tree flag and only option to have bread crumbs in sub index files

This commit is contained in:
2026-09-15 12:01:31 +01:00
parent 84bea485ec
commit c5dfbb3502
3 changed files with 16 additions and 37 deletions
-3
View File
@@ -71,7 +71,6 @@ Examples:
tuiMode bool
instructions bool
pickPaths []string
smallTree bool
)
func Execute() {
@@ -99,7 +98,6 @@ func init() {
rootCmd.Flags().BoolVar(&omitMd, "omit-md", false, "omit all .md files except README.md")
rootCmd.Flags().BoolVar(&instructions, "instructions", false, "include .dirmd instructions file if present in root")
rootCmd.Flags().StringArrayVar(&pickPaths, "pick", nil, "repeatable: relative path to file to include as pick (requires --vertical-slices)")
rootCmd.Flags().BoolVar(&smallTree, "small-tree", false, "use breadcrumb-only tree for picked files (default: full tree)")
}
func run(cmd *cobra.Command, args []string) error {
@@ -153,7 +151,6 @@ func run(cmd *cobra.Command, args []string) error {
OmitMd: omitMd,
IncludeInstructions: instructions,
PickPaths: pickPaths,
SmallTree: smallTree,
}
if singleFile != "" {