mirror of
https://github.com/metabarcoding/obitools4.git
synced 2025-12-13 18:50:26 +00:00
Small adjustment
This commit is contained in:
27
pkg/obitools/obicleandb/options.go
Normal file
27
pkg/obitools/obicleandb/options.go
Normal file
@@ -0,0 +1,27 @@
|
||||
package obicleandb
|
||||
|
||||
import (
|
||||
"git.metabarcoding.org/lecasofts/go/obitools/pkg/obitools/obiconvert"
|
||||
"git.metabarcoding.org/lecasofts/go/obitools/pkg/obitools/obigrep"
|
||||
"github.com/DavidGamba/go-getoptions"
|
||||
)
|
||||
|
||||
|
||||
var _UpdateTaxids = false
|
||||
|
||||
func ObicleanDBOptionSet(options *getoptions.GetOpt) {
|
||||
|
||||
options.BoolVar(&_UpdateTaxids, "update-taxids", _UpdateTaxids,
|
||||
options.Description("Indicates if decrecated Taxids must be corrected."))
|
||||
}
|
||||
|
||||
func OptionSet(options *getoptions.GetOpt) {
|
||||
obiconvert.InputOptionSet(options)
|
||||
obiconvert.OutputOptionSet(options)
|
||||
obigrep.TaxonomySelectionOptionSet(options)
|
||||
ObicleanDBOptionSet(options)
|
||||
}
|
||||
|
||||
func CLIUpdateTaxids() bool {
|
||||
return _UpdateTaxids
|
||||
}
|
||||
Reference in New Issue
Block a user