Metadata Template Update: Unable to add multiple option values to enum
@sujaygarlanka is already working on this.
Since Aug 17, 2021.
Assessment
This issue has not been assessed yet.
Description
- [ X] I have checked that the SDK documentation doesn't solve my issue.
- [ X] I have checked that the API documentation doesn't solve my issue.
- [ X] I have searched the Box Developer Forums and my issue isn't already reported (or if it has been reported, I have attached a link to it, for reference).
- [ X] I have searched Issues in this repo and my issue isn't already reported.
Description of the Issue
Box CLI Command for adding enum options to the a metadata template doesn't allow multiple options params. In the documentation help it states.
$ box metadata-templates:update TEMPLATEKEY
--add-enum-option=add-enum-option Add an enum option to the specified field; must be followed by one or more --option flags
If I however submit this command:
box metadata-templates:update <template_key> --add-enum-option=<field_key> --option=<Value 1> --option=<Value 2> --option=<Value 3>
then only Value 3 will be added and Value 1, Value 2 will be ignored.
Steps to Reproduce
Execute command above on a single dropdown field
Expected Behavior
All the options should be added as per the help message.
Error Message, Including Stack Trace
NA
Screenshots
Versions Used
Box CLI: 2.9
Operating System: macOS Big Sure 11.5.2
- Dominant language
- JavaScript
- Stars
- 285
- Forks
- 67
- Avg merge
- 5h 27m
- Merged PRs (30d)
- 5
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from box/boxcli
-
enhancement
Difficulty 3/5 1-2 days Newbie friendliness 45/100
-
enhancement
-
enhancement
-
enhancement
-
enhancement
Similar issues
-
bug
Difficulty 1/5 Under an hour Newbie friendliness 90/100
apache/cloudstack#14222 ·
-
Browser Waiting for: Product Owner
Difficulty 2/5 1-3 hours Newbie friendliness 85/100
getsentry/sentry-javascript#24577 · 1 comment ·
-
curation good first issue
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
amponce/archive-movie-browser#186 ·
-
light
Difficulty 2/5 1-3 hours Newbie friendliness 85/100
aemdemos/patients-stryker#253 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 86/100
clerk/javascript#9852 ·