Skip to content

Commit

Permalink
Merge pull request #96 from dictyBase/feat/flags-without-database
Browse files Browse the repository at this point in the history
Pulling feat/flags-without-database into develop
kodiakhq[bot] authored Aug 1, 2023

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
2 parents f7286f2 + 8aa45b0 commit b64182a
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions command/flag/flag.go
Original file line number Diff line number Diff line change
@@ -5,6 +5,33 @@ import (
"github.com/urfave/cli"
)

// OntologyFlagsOnly returns a slice of cli.Flag objects representing command line
// options for an ontology-related CLI application.
func OntologyFlagsOnly() []cli.Flag {
return []cli.Flag{
cli.StringFlag{
Name: "term-collection",
Usage: "arangodb collection for storing ontoloy terms",
Value: "cvterm",
},
cli.StringFlag{
Name: "rel-collection",
Usage: "arangodb collection for storing cvterm relationships",
Value: "cvterm_relationship",
},
cli.StringFlag{
Name: "cv-collection",
Usage: "arangodb collection for storing ontology information",
Value: "cv",
},
cli.StringFlag{
Name: "obograph",
Usage: "arangodb named graph for managing ontology graph",
Value: "obograph",
},
}
}

// OntologyFlags returns a cli.flag slice to use in the command
// line arguments of the ontology loader.
func OntologyFlags() []cli.Flag {

0 comments on commit b64182a

Please sign in to comment.