mirror of
https://github.com/metabarcoding/obitools4.git
synced 2025-12-10 09:40:27 +00:00
27 lines
624 B
Go
27 lines
624 B
Go
package obidemerge
|
|
|
|
import (
|
|
"git.metabarcoding.org/obitools/obitools4/obitools4/pkg/obitools/obiconvert"
|
|
"github.com/DavidGamba/go-getoptions"
|
|
)
|
|
|
|
var _Demerge = "sample"
|
|
|
|
func DemergeOptionSet(options *getoptions.GetOpt) {
|
|
|
|
options.StringVar(&_Demerge, "demerge", _Demerge,
|
|
options.Alias("d"),
|
|
options.Description("Indicates which slot has to be demerged."))
|
|
}
|
|
|
|
// OptionSet adds to the basic option set every options declared for
|
|
// the obipcr command
|
|
func OptionSet(options *getoptions.GetOpt) {
|
|
obiconvert.OptionSet(false)(options)
|
|
DemergeOptionSet(options)
|
|
}
|
|
|
|
func CLIDemergeSlot() string {
|
|
return _Demerge
|
|
}
|