add the --raw-taxid option

This commit is contained in:
Eric Coissac
2025-03-08 09:40:06 +01:00
parent 78df7db18d
commit b18c9b7ac6
5 changed files with 25 additions and 1 deletions

View File

@ -186,6 +186,10 @@ func LoadTaxonomyOptionSet(options *getoptions.GetOpt, required, alternatiive bo
options.BoolVar(obidefault.UpdateTaxidPtr(), "update-taxid", obidefault.UpdateTaxid(),
options.Description("Make obitools automatically updating the taxid that are declared merged to a newest one."),
)
options.BoolVar(obidefault.UseRawTaxidsPtr(), "raw-taxid", obidefault.UseRawTaxids(),
options.Description("When set, taxids are printed in files with any supplementary information (taxon name and rank)"),
)
}
// CLIIsDebugMode returns whether the CLI is in debug mode.