Skip to content

Commit

Permalink
app: update CLI option descriptions for loading, exporting, indexing.…
Browse files Browse the repository at this point in the history
….., #TASK-6142, #TASK-5564
  • Loading branch information
jtarraga committed Aug 6, 2024
1 parent 280fd67 commit 2235e5c
Showing 1 changed file with 9 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -205,9 +205,9 @@ public class LoadCommandOptions {
@ParametersDelegate
public CommonCommandOptions commonOptions = commonCommandOptions;

@Parameter(names = {"-d", "--data"}, description = "Data model type to be loaded: genome, gene, variation,"
+ " conservation, regulation, protein, clinical_variants, repeats, regulatory_pfm, splice_score, pubmed, pharmacogenomics."
+ " 'all' loads everything", required = true, arity = 1)
@Parameter(names = {"-d", "--data"}, description = "Comma separated list of data to load, it depends on the species; use the"
+ " command 'cellbase-admin.sh data-list' to know the data list available for each species; or use 'all' to load"
+ " everything", required = true, arity = 1)
public String data;

@Parameter(names = {"-i", "--input"}, required = true, arity = 1,
Expand Down Expand Up @@ -252,9 +252,9 @@ public class ExportCommandOptions {
@ParametersDelegate
public CommonCommandOptions commonOptions = commonCommandOptions;

@Parameter(names = {"-d", "--data"}, description = "Data model type to be loaded: genome, gene, variation, "
+ "conservation, regulation, protein, clinical_variants, repeats, regulatory_pfm, splice_score, pubmed. 'all' "
+ " loads everything", required = true, arity = 1)
@Parameter(names = {"-d", "--data"}, description = "Comma separated list of data to export, it depends on the species; use the"
+ " command 'cellbase-admin.sh data-list' to know the data list available for each species; or use 'all' to export"
+ " everything", required = true, arity = 1)
public String data;

@Parameter(names = {"--db", "--database"}, description = "Database name, e.g., cellbase_hsapiens_grch38_v5", required = true,
Expand Down Expand Up @@ -314,10 +314,9 @@ public class IndexCommandOptions {
@ParametersDelegate
public CommonCommandOptions commonOptions = commonCommandOptions;

@Parameter(names = {"-d", "--data"}, description = "Data model type to be indexed: genome, gene, variation, "
+ "regulation, protein, ontology, clinical_variants, repeats, refseq and missense_variation_functional_score. 'all' "
+ "indexes everything", required = true,
arity = 1)
@Parameter(names = {"-d", "--data"}, description = "Comma separated list of data to index, it depends on the species; use the"
+ " command 'cellbase-admin.sh data-list' to know the data list available for each species; or use 'all' to index"
+ " everything", required = true, arity = 1)
public String data;

@Parameter(names = {"--db", "--database"}, description = "Database name.", required = true, arity = 1)
Expand Down

0 comments on commit 2235e5c

Please sign in to comment.