NAME
list-nutrients - List nutrients
VERSION
This document describes version 0.001 of list-nutrients (from Perl distribution App-NutrientUtils), released on 2024-05-14.
SYNOPSIS
list-nutrients --help (or -h, -?)
list-nutrients --version (or -v)
list-nutrients [--category-contains=str] [(--category-in=str)+|--category-in-json=json] [--category-is=str] [--category-isnt=str] [--category-max=str] [--category-min=str] [--category-not-contains=str] [(--category-not-in=str)+|--category-not-in-json=json] [--category-xmax=str] [--category-xmin=str] [--category=str] [--default-unit-contains=str] [(--default-unit-in=str)+|--default-unit-in-json=json] [--default-unit-is=str] [--default-unit-isnt=str] [--default-unit-max=str] [--default-unit-min=str] [--default-unit-not-contains=str] [(--default-unit-not-in=str)+|--default-unit-not-in-json=json] [--default-unit-xmax=str] [--default-unit-xmin=str] [--default-unit=str] [--detail|-l|--no-detail|--nodetail] [(--eng-aliases-has=str)+|--eng-aliases-has-json=json] [--eng-aliases-is=s|--eng-aliases-is-json=json] [--eng-aliases-isnt=s|--eng-aliases-isnt-json=json] [(--eng-aliases-lacks=str)+|--eng-aliases-lacks-json=json] [--eng-aliases=s|--eng-aliases-json=json] [--eng-name-contains=str] [(--eng-name-in=str)+|--eng-name-in-json=json] [--eng-name-is=str] [--eng-name-isnt=str] [--eng-name-max=str] [--eng-name-min=str] [--eng-name-not-contains=str] [(--eng-name-not-in=str)+|--eng-name-not-in-json=json] [--eng-name-xmax=str] [--eng-name-xmin=str] [--eng-name=str] [(--exclude-field=str)+|--exclude-fields-json=json] [--fat-soluble|--no-fat-soluble|--nofat-soluble] [--fat-soluble-is|--no-fat-soluble-is|--nofat-soluble-is] [--fat-soluble-isnt|--no-fat-soluble-isnt|--nofat-soluble-isnt] [--fat-soluble-note-contains=str] [(--fat-soluble-note-in=str)+|--fat-soluble-note-in-json=json] [--fat-soluble-note-is=str] [--fat-soluble-note-isnt=str] [--fat-soluble-note-max=str] [--fat-soluble-note-min=str] [--fat-soluble-note-not-contains=str] [(--fat-soluble-note-not-in=str)+|--fat-soluble-note-not-in-json=json] [--fat-soluble-note-xmax=str] [--fat-soluble-note-xmin=str] [--fat-soluble-note=str] [(--field=str)+|--fields-json=json] [--format=name|--json] [(--ind-aliases-has=str)+|--ind-aliases-has-json=json] [--ind-aliases-is=s|--ind-aliases-is-json=json] [--ind-aliases-isnt=s|--ind-aliases-isnt-json=json] [(--ind-aliases-lacks=str)+|--ind-aliases-lacks-json=json] [--ind-aliases=s|--ind-aliases-json=json] [--ind-name-contains=str] [(--ind-name-in=str)+|--ind-name-in-json=json] [--ind-name-is=str] [--ind-name-isnt=str] [--ind-name-max=str] [--ind-name-min=str] [--ind-name-not-contains=str] [(--ind-name-not-in=str)+|--ind-name-not-in-json=json] [--ind-name-xmax=str] [--ind-name-xmin=str] [--ind-name=str] [--(no)naked-res] [--page-result[=program]|--view-result[=program]] [--query-boolean=str|--and|--or] [(--query=str)+|--queries-json=json|(-q=str)+] [--random|--no-random|--norandom] [--result-limit=int] [--result-start=int] [(--sort=str)+|--sort-json=json] [--summary-contains=str] [(--summary-in=str)+|--summary-in-json=json] [--summary-is=str] [--summary-isnt=str] [--summary-max=str] [--summary-min=str] [--summary-not-contains=str] [(--summary-not-in=str)+|--summary-not-in-json=json] [--summary-xmax=str] [--summary-xmin=str] [--summary=str] [--symbol-contains=str] [(--symbol-in=str)+|--symbol-in-json=json] [--symbol-is=str] [--symbol-isnt=str] [--symbol-max=str] [--symbol-min=str] [--symbol-not-contains=str] [(--symbol-not-in=str)+|--symbol-not-in-json=json] [--symbol-xmax=str] [--symbol-xmin=str] [--symbol=str] [--water-soluble|--no-water-soluble|--nowater-soluble] [--water-soluble-is|--no-water-soluble-is|--nowater-soluble-is] [--water-soluble-isnt|--no-water-soluble-isnt|--nowater-soluble-isnt] [--water-soluble-note-contains=str] [(--water-soluble-note-in=str)+|--water-soluble-note-in-json=json] [--water-soluble-note-is=str] [--water-soluble-note-isnt=str] [--water-soluble-note-max=str] [--water-soluble-note-min=str] [--water-soluble-note-not-contains=str] [(--water-soluble-note-not-in=str)+|--water-soluble-note-not-in-json=json] [--water-soluble-note-xmax=str] [--water-soluble-note-xmin=str] [--water-soluble-note=str] [--with-field-names|--without-field-names] -- [query] ...
See examples in the "EXAMPLES" section.
OPTIONS
*
marks required options.
Field selection options
- --detail, -l
-
Return array of full records instead of just ID fields.
By default, only the key (ID) field is returned per result entry.
- --exclude-field=s@
-
Select fields to return.
Can be specified multiple times.
- --exclude-fields-json=s
-
Select fields to return (JSON-encoded).
See
--exclude-field
. - --field=s@
-
Select fields to return.
Can be specified multiple times.
- --fields-json=s
-
Select fields to return (JSON-encoded).
See
--field
. - --with-field-names
-
Return field names in each record (as hash/associative array).
When enabled, function will return each record as hash/associative array (field name => value pairs). Otherwise, function will return each record as list/array (field value, field value, ...).
Filtering for category options
- --category-contains=s
-
Only return records where the 'category' field contains specified text.
- --category-in-json=s
-
Only return records where the 'category' field is in the specified values (JSON-encoded).
See
--category-in
. - --category-in=s@
-
Only return records where the 'category' field is in the specified values.
Can be specified multiple times.
- --category-is=s
-
Only return records where the 'category' field equals specified value.
- --category-isnt=s
-
Only return records where the 'category' field does not equal specified value.
- --category-max=s
-
Only return records where the 'category' field is less than or equal to specified value.
- --category-min=s
-
Only return records where the 'category' field is greater than or equal to specified value.
- --category-not-contains=s
-
Only return records where the 'category' field does not contain specified text.
- --category-not-in-json=s
-
Only return records where the 'category' field is not in the specified values (JSON-encoded).
See
--category-not-in
. - --category-not-in=s@
-
Only return records where the 'category' field is not in the specified values.
Can be specified multiple times.
- --category-xmax=s
-
Only return records where the 'category' field is less than specified value.
- --category-xmin=s
-
Only return records where the 'category' field is greater than specified value.
- --category=s
-
Only return records where the 'category' field equals specified value.
Filtering for default_unit options
- --default-unit-contains=s
-
Only return records where the 'default_unit' field contains specified text.
- --default-unit-in-json=s
-
Only return records where the 'default_unit' field is in the specified values (JSON-encoded).
See
--default-unit-in
. - --default-unit-in=s@
-
Only return records where the 'default_unit' field is in the specified values.
Can be specified multiple times.
- --default-unit-is=s
-
Only return records where the 'default_unit' field equals specified value.
- --default-unit-isnt=s
-
Only return records where the 'default_unit' field does not equal specified value.
- --default-unit-max=s
-
Only return records where the 'default_unit' field is less than or equal to specified value.
- --default-unit-min=s
-
Only return records where the 'default_unit' field is greater than or equal to specified value.
- --default-unit-not-contains=s
-
Only return records where the 'default_unit' field does not contain specified text.
- --default-unit-not-in-json=s
-
Only return records where the 'default_unit' field is not in the specified values (JSON-encoded).
See
--default-unit-not-in
. - --default-unit-not-in=s@
-
Only return records where the 'default_unit' field is not in the specified values.
Can be specified multiple times.
- --default-unit-xmax=s
-
Only return records where the 'default_unit' field is less than specified value.
- --default-unit-xmin=s
-
Only return records where the 'default_unit' field is greater than specified value.
- --default-unit=s
-
Only return records where the 'default_unit' field equals specified value.
Filtering for eng_aliases options
- --eng-aliases-has-json=s
-
Only return records where the 'eng_aliases' field is an array/list which contains specified value (JSON-encoded).
See
--eng-aliases-has
. - --eng-aliases-has=s@
-
Only return records where the 'eng_aliases' field is an array/list which contains specified value.
Can be specified multiple times.
- --eng-aliases-is-json=s
-
Only return records where the 'eng_aliases' field equals specified value (JSON-encoded).
See
--eng-aliases-is
. - --eng-aliases-is=s
-
Only return records where the 'eng_aliases' field equals specified value.
- --eng-aliases-isnt-json=s
-
Only return records where the 'eng_aliases' field does not equal specified value (JSON-encoded).
See
--eng-aliases-isnt
. - --eng-aliases-isnt=s
-
Only return records where the 'eng_aliases' field does not equal specified value.
- --eng-aliases-json=s
-
Only return records where the 'eng_aliases' field equals specified value (JSON-encoded).
See
--eng-aliases
. - --eng-aliases-lacks-json=s
-
Only return records where the 'eng_aliases' field is an array/list which does not contain specified value (JSON-encoded).
See
--eng-aliases-lacks
. - --eng-aliases-lacks=s@
-
Only return records where the 'eng_aliases' field is an array/list which does not contain specified value.
Can be specified multiple times.
- --eng-aliases=s
-
Only return records where the 'eng_aliases' field equals specified value.
Filtering for eng_name options
- --eng-name-contains=s
-
Only return records where the 'eng_name' field contains specified text.
- --eng-name-in-json=s
-
Only return records where the 'eng_name' field is in the specified values (JSON-encoded).
See
--eng-name-in
. - --eng-name-in=s@
-
Only return records where the 'eng_name' field is in the specified values.
Can be specified multiple times.
- --eng-name-is=s
-
Only return records where the 'eng_name' field equals specified value.
- --eng-name-isnt=s
-
Only return records where the 'eng_name' field does not equal specified value.
- --eng-name-max=s
-
Only return records where the 'eng_name' field is less than or equal to specified value.
- --eng-name-min=s
-
Only return records where the 'eng_name' field is greater than or equal to specified value.
- --eng-name-not-contains=s
-
Only return records where the 'eng_name' field does not contain specified text.
- --eng-name-not-in-json=s
-
Only return records where the 'eng_name' field is not in the specified values (JSON-encoded).
See
--eng-name-not-in
. - --eng-name-not-in=s@
-
Only return records where the 'eng_name' field is not in the specified values.
Can be specified multiple times.
- --eng-name-xmax=s
-
Only return records where the 'eng_name' field is less than specified value.
- --eng-name-xmin=s
-
Only return records where the 'eng_name' field is greater than specified value.
- --eng-name=s
-
Only return records where the 'eng_name' field equals specified value.
Filtering for fat_soluble options
- --fat-soluble
-
Only return records where the 'fat_soluble' field equals specified value.
- --fat-soluble-is
-
Only return records where the 'fat_soluble' field equals specified value.
- --fat-soluble-isnt
-
Only return records where the 'fat_soluble' field does not equal specified value.
Filtering for fat_soluble_note options
- --fat-soluble-note-contains=s
-
Only return records where the 'fat_soluble_note' field contains specified text.
- --fat-soluble-note-in-json=s
-
Only return records where the 'fat_soluble_note' field is in the specified values (JSON-encoded).
See
--fat-soluble-note-in
. - --fat-soluble-note-in=s@
-
Only return records where the 'fat_soluble_note' field is in the specified values.
Can be specified multiple times.
- --fat-soluble-note-is=s
-
Only return records where the 'fat_soluble_note' field equals specified value.
- --fat-soluble-note-isnt=s
-
Only return records where the 'fat_soluble_note' field does not equal specified value.
- --fat-soluble-note-max=s
-
Only return records where the 'fat_soluble_note' field is less than or equal to specified value.
- --fat-soluble-note-min=s
-
Only return records where the 'fat_soluble_note' field is greater than or equal to specified value.
- --fat-soluble-note-not-contains=s
-
Only return records where the 'fat_soluble_note' field does not contain specified text.
- --fat-soluble-note-not-in-json=s
-
Only return records where the 'fat_soluble_note' field is not in the specified values (JSON-encoded).
See
--fat-soluble-note-not-in
. - --fat-soluble-note-not-in=s@
-
Only return records where the 'fat_soluble_note' field is not in the specified values.
Can be specified multiple times.
- --fat-soluble-note-xmax=s
-
Only return records where the 'fat_soluble_note' field is less than specified value.
- --fat-soluble-note-xmin=s
-
Only return records where the 'fat_soluble_note' field is greater than specified value.
- --fat-soluble-note=s
-
Only return records where the 'fat_soluble_note' field equals specified value.
Filtering for ind_aliases options
- --ind-aliases-has-json=s
-
Only return records where the 'ind_aliases' field is an array/list which contains specified value (JSON-encoded).
See
--ind-aliases-has
. - --ind-aliases-has=s@
-
Only return records where the 'ind_aliases' field is an array/list which contains specified value.
Can be specified multiple times.
- --ind-aliases-is-json=s
-
Only return records where the 'ind_aliases' field equals specified value (JSON-encoded).
See
--ind-aliases-is
. - --ind-aliases-is=s
-
Only return records where the 'ind_aliases' field equals specified value.
- --ind-aliases-isnt-json=s
-
Only return records where the 'ind_aliases' field does not equal specified value (JSON-encoded).
See
--ind-aliases-isnt
. - --ind-aliases-isnt=s
-
Only return records where the 'ind_aliases' field does not equal specified value.
- --ind-aliases-json=s
-
Only return records where the 'ind_aliases' field equals specified value (JSON-encoded).
See
--ind-aliases
. - --ind-aliases-lacks-json=s
-
Only return records where the 'ind_aliases' field is an array/list which does not contain specified value (JSON-encoded).
See
--ind-aliases-lacks
. - --ind-aliases-lacks=s@
-
Only return records where the 'ind_aliases' field is an array/list which does not contain specified value.
Can be specified multiple times.
- --ind-aliases=s
-
Only return records where the 'ind_aliases' field equals specified value.
Filtering for ind_name options
- --ind-name-contains=s
-
Only return records where the 'ind_name' field contains specified text.
- --ind-name-in-json=s
-
Only return records where the 'ind_name' field is in the specified values (JSON-encoded).
See
--ind-name-in
. - --ind-name-in=s@
-
Only return records where the 'ind_name' field is in the specified values.
Can be specified multiple times.
- --ind-name-is=s
-
Only return records where the 'ind_name' field equals specified value.
- --ind-name-isnt=s
-
Only return records where the 'ind_name' field does not equal specified value.
- --ind-name-max=s
-
Only return records where the 'ind_name' field is less than or equal to specified value.
- --ind-name-min=s
-
Only return records where the 'ind_name' field is greater than or equal to specified value.
- --ind-name-not-contains=s
-
Only return records where the 'ind_name' field does not contain specified text.
- --ind-name-not-in-json=s
-
Only return records where the 'ind_name' field is not in the specified values (JSON-encoded).
See
--ind-name-not-in
. - --ind-name-not-in=s@
-
Only return records where the 'ind_name' field is not in the specified values.
Can be specified multiple times.
- --ind-name-xmax=s
-
Only return records where the 'ind_name' field is less than specified value.
- --ind-name-xmin=s
-
Only return records where the 'ind_name' field is greater than specified value.
- --ind-name=s
-
Only return records where the 'ind_name' field equals specified value.
Filtering for summary options
- --summary-contains=s
-
Only return records where the 'summary' field contains specified text.
- --summary-in-json=s
-
Only return records where the 'summary' field is in the specified values (JSON-encoded).
See
--summary-in
. - --summary-in=s@
-
Only return records where the 'summary' field is in the specified values.
Can be specified multiple times.
- --summary-is=s
-
Only return records where the 'summary' field equals specified value.
- --summary-isnt=s
-
Only return records where the 'summary' field does not equal specified value.
- --summary-max=s
-
Only return records where the 'summary' field is less than or equal to specified value.
- --summary-min=s
-
Only return records where the 'summary' field is greater than or equal to specified value.
- --summary-not-contains=s
-
Only return records where the 'summary' field does not contain specified text.
- --summary-not-in-json=s
-
Only return records where the 'summary' field is not in the specified values (JSON-encoded).
See
--summary-not-in
. - --summary-not-in=s@
-
Only return records where the 'summary' field is not in the specified values.
Can be specified multiple times.
- --summary-xmax=s
-
Only return records where the 'summary' field is less than specified value.
- --summary-xmin=s
-
Only return records where the 'summary' field is greater than specified value.
- --summary=s
-
Only return records where the 'summary' field equals specified value.
Filtering for symbol options
- --symbol-contains=s
-
Only return records where the 'symbol' field contains specified text.
- --symbol-in-json=s
-
Only return records where the 'symbol' field is in the specified values (JSON-encoded).
See
--symbol-in
. - --symbol-in=s@
-
Only return records where the 'symbol' field is in the specified values.
Can be specified multiple times.
- --symbol-is=s
-
Only return records where the 'symbol' field equals specified value.
- --symbol-isnt=s
-
Only return records where the 'symbol' field does not equal specified value.
- --symbol-max=s
-
Only return records where the 'symbol' field is less than or equal to specified value.
- --symbol-min=s
-
Only return records where the 'symbol' field is greater than or equal to specified value.
- --symbol-not-contains=s
-
Only return records where the 'symbol' field does not contain specified text.
- --symbol-not-in-json=s
-
Only return records where the 'symbol' field is not in the specified values (JSON-encoded).
See
--symbol-not-in
. - --symbol-not-in=s@
-
Only return records where the 'symbol' field is not in the specified values.
Can be specified multiple times.
- --symbol-xmax=s
-
Only return records where the 'symbol' field is less than specified value.
- --symbol-xmin=s
-
Only return records where the 'symbol' field is greater than specified value.
- --symbol=s
-
Only return records where the 'symbol' field equals specified value.
Filtering for water_soluble options
- --water-soluble
-
Only return records where the 'water_soluble' field equals specified value.
- --water-soluble-is
-
Only return records where the 'water_soluble' field equals specified value.
- --water-soluble-isnt
-
Only return records where the 'water_soluble' field does not equal specified value.
Filtering for water_soluble_note options
- --water-soluble-note-contains=s
-
Only return records where the 'water_soluble_note' field contains specified text.
- --water-soluble-note-in-json=s
-
Only return records where the 'water_soluble_note' field is in the specified values (JSON-encoded).
See
--water-soluble-note-in
. - --water-soluble-note-in=s@
-
Only return records where the 'water_soluble_note' field is in the specified values.
Can be specified multiple times.
- --water-soluble-note-is=s
-
Only return records where the 'water_soluble_note' field equals specified value.
- --water-soluble-note-isnt=s
-
Only return records where the 'water_soluble_note' field does not equal specified value.
- --water-soluble-note-max=s
-
Only return records where the 'water_soluble_note' field is less than or equal to specified value.
- --water-soluble-note-min=s
-
Only return records where the 'water_soluble_note' field is greater than or equal to specified value.
- --water-soluble-note-not-contains=s
-
Only return records where the 'water_soluble_note' field does not contain specified text.
- --water-soluble-note-not-in-json=s
-
Only return records where the 'water_soluble_note' field is not in the specified values (JSON-encoded).
See
--water-soluble-note-not-in
. - --water-soluble-note-not-in=s@
-
Only return records where the 'water_soluble_note' field is not in the specified values.
Can be specified multiple times.
- --water-soluble-note-xmax=s
-
Only return records where the 'water_soluble_note' field is less than specified value.
- --water-soluble-note-xmin=s
-
Only return records where the 'water_soluble_note' field is greater than specified value.
- --water-soluble-note=s
-
Only return records where the 'water_soluble_note' field equals specified value.
Filtering options
- --and
-
Shortcut for --query-boolean=and.
See
--query-boolean
. - --or
-
Shortcut for --query-boolean=or.
See
--query-boolean
. - --queries-json=s, -q
-
Search (JSON-encoded).
See
--query
.Can also be specified as the 1st command-line argument and onwards.
- --query-boolean=s
-
Whether records must match all search queries ('and') or just one ('or').
Default value:
"and"
Valid values:
["and","or"]
If set to
and
, all queries must match; if set toor
, only one query should match. See thequeries
option for more details on searching. - --query=s@
-
Search.
This will search all searchable fields with one or more specified queries. Each query can be in the form of
-FOO
(dash prefix notation) to require that the fields do not contain specified string, or/FOO/
to use regular expression. All queries must match if thequery_boolean
option is set toand
; only one query should match if thequery_boolean
option is set toor
.Can also be specified as the 1st command-line argument and onwards.
Can be specified multiple times.
Ordering options
- --random
-
Return records in random order.
- --sort-json=s
-
Order records according to certain field(s) (JSON-encoded).
See
--sort
. - --sort=s@
-
Order records according to certain field(s).
A list of field names separated by comma. Each field can be prefixed with '-' to specify descending order instead of the default ascending.
Can be specified multiple times.
Output options
- --format=s
-
Choose output format, e.g. json, text.
Default value:
undef
Output can be displayed in multiple formats, and a suitable default format is chosen depending on the application and/or whether output destination is interactive terminal (i.e. whether output is piped). This option specifically chooses an output format.
- --json
-
Set output format to json.
- --naked-res
-
When outputing as JSON, strip result envelope.
Default value:
0
By default, when outputing as JSON, the full enveloped result is returned, e.g.:
[200,"OK",[1,2,3],{"func.extra"=>4}]
The reason is so you can get the status (1st element), status message (2nd element) as well as result metadata/extra result (4th element) instead of just the result (3rd element). However, sometimes you want just the result, e.g. when you want to pipe the result for more post-processing. In this case you can use
--naked-res
so you just get:[1,2,3]
- --page-result
-
Filter output through a pager.
This option will pipe the output to a specified pager program. If pager program is not specified, a suitable default e.g.
less
is chosen. - --view-result
-
View output using a viewer.
This option will first save the output to a temporary file, then open a viewer program to view the temporary file. If a viewer program is not chosen, a suitable default, e.g. the browser, is chosen.
Paging options
- --result-limit=s
-
Only return a certain number of records.
- --result-start=s
-
Only return starting from the n'th record.
Default value:
1
Other options
COMPLETION
This script has shell tab completion capability with support for several shells.
bash
To activate bash completion for this script, put:
complete -C list-nutrients list-nutrients
in your bash startup (e.g. ~/.bashrc). Your next shell session will then recognize tab completion for the command. Or, you can also directly execute the line above in your shell to activate immediately.
It is recommended, however, that you install modules using cpanm-shcompgen which can activate shell completion for scripts immediately.
tcsh
To activate tcsh completion for this script, put:
complete list-nutrients 'p/*/`list-nutrients`/'
in your tcsh startup (e.g. ~/.tcshrc). Your next shell session will then recognize tab completion for the command. Or, you can also directly execute the line above in your shell to activate immediately.
It is also recommended to install shcompgen (see above).
other shells
For fish and zsh, install shcompgen as described above.
EXAMPLES
List all vitamins, with all details
% list-nutrients -l --category vitamin
VA vitamin Vitamin A Vitamin A IU-vita 1
VD vitamin Vitamin D Vitamin D IU-vitd 1
VE vitamin Vitamin E Vitamin E IU-vite 1
VK vitamin Vitamin K Vitamin K mcg 1
VB1 vitamin Vitamin B1 ["Thiamine"] Vitamin B1 ["Thiamin"] mg 1
VB2 vitamin Vitamin B2 ["Riboflavin"] Vitamin B2 ["Riboflavin"] mg 1
VB3 vitamin Vitamin B3 ["Niacin"] Vitamin B3 ["Niacin"] mg 1
VB5 vitamin Pantothenic acid ["Vitamin B5"] Asam pantotenat ["Vitamin B5"] mg 1
VB6 Vitamin B6 refers to a group of six vitamers, one of which is pyridoxine vitamin Vitamin B6 ["Pyridoxine"] Vitamin B6 ["Pyridoxine"] mg 1
VB9 vitamin Folate ["Vitamin B9","Folacin"] Folat ["Vitamin B9","Folasin"] mcg 1
VB12 vitamin Vitamin B12 ["Cobalamin"] Vitamin B12 ["Kobalamin"] mcg 1
VB7 vitamin Biotin ["Vitamin B7","Vitamin H"] Biotin ["Vitamin B7","Vitamin H"] mg 1
VC vitamin Vitamin C Vitamin C mg 1
List the English names of all minerals
% list-nutrients --category mineral --fields '["eng_name"]'
Calcium
Phosphorus
Magnesium
Iron
Iodium
Zinc
Selenium
Mangan
Fluorine
Chromium
Potassium
Sodium
Chlorine
Copper
HOMEPAGE
Please visit the project's homepage at https://metacpan.org/release/App-NutrientUtils.
SOURCE
Source repository is at https://github.com/perlancar/perl-App-NutrientUtils.
AUTHOR
perlancar <perlancar@cpan.org>
CONTRIBUTING
To contribute, you can send patches by email/via RT, or send pull requests on GitHub.
Most of the time, you don't need to build the distribution yourself. You can simply modify the code, then test via:
% prove -l
If you want to build the distribution (e.g. to try to install it locally on your system), you can install Dist::Zilla, Dist::Zilla::PluginBundle::Author::PERLANCAR, Pod::Weaver::PluginBundle::Author::PERLANCAR, and sometimes one or two other Dist::Zilla- and/or Pod::Weaver plugins. Any additional steps required beyond that are considered a bug and can be reported to me.
COPYRIGHT AND LICENSE
This software is copyright (c) 2024 by perlancar <perlancar@cpan.org>.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
BUGS
Please report any bugs or feature requests on the bugtracker website https://rt.cpan.org/Public/Dist/Display.html?Name=App-NutrientUtils
When submitting a bug or request, please include a test-file or a patch to an existing test-file that illustrates the bug or desired feature.