Reputation: 4041
How can I use the maniphest.custom-field-definitions
for Phabricator from the cli? I know how to create the custom fields using the UI based on the docs, but I am trying to do this using a command line option by passing in the JSON as stdin if possible.
I am aware that I can conduct various operations from the command like like config, auth, api etc etc, but I could not find a pointer on how to work with custom fields from the command line.
Upvotes: 0
Views: 99
Reputation: 974
You can use the following command to edit the custom field definitions from a shell:
phabricator/bin/config set maniphest.custom-field-definitions "{ your customfield json here}"
Note: This is the same answer that I provided on phabricator-community.org. Posting it here as well for posterity.
Upvotes: 1