remove small-tree flag and only option to have bread crumbs in sub index files
This commit is contained in:
@@ -66,7 +66,6 @@ type Config struct {
|
||||
OmitMd bool
|
||||
IncludeInstructions bool
|
||||
PickPaths []string
|
||||
SmallTree bool
|
||||
}
|
||||
|
||||
func PrintUsage() {
|
||||
@@ -97,7 +96,6 @@ func Parse() (*Config, error) {
|
||||
omitMd bool
|
||||
includeInstructions bool
|
||||
pickPaths stringSlice
|
||||
smallTree bool
|
||||
)
|
||||
|
||||
flag.StringVar(&input, "i", "", "single file input (append mode only)")
|
||||
@@ -118,7 +116,6 @@ func Parse() (*Config, error) {
|
||||
flag.BoolVar(&omitMd, "omit-md", false, "omit all .md files except README.md")
|
||||
flag.BoolVar(&includeInstructions, "instructions", false, "include .dirmd instructions file if present in root")
|
||||
flag.Var(&pickPaths, "pick", "repeatable: relative path to file to include as pick (requires --vertical-slices)")
|
||||
flag.BoolVar(&smallTree, "small-tree", false, "use breadcrumb-only tree for picked files (default: full tree)")
|
||||
|
||||
flag.Usage = PrintUsage
|
||||
flag.Parse()
|
||||
@@ -169,7 +166,6 @@ func Parse() (*Config, error) {
|
||||
OmitMd: omitMd,
|
||||
IncludeInstructions: includeInstructions,
|
||||
PickPaths: pickPaths,
|
||||
SmallTree: smallTree,
|
||||
}
|
||||
|
||||
if input != "" {
|
||||
|
||||
Reference in New Issue
Block a user