duckduckgo/community-platform — pull request #312 by MariagraziaAlastra (2014-11-13 15:09:46+00:00)
Title: Script for creating new Instant Answers

@russellholt @jdorweiler @jbarrett

Takes name, id and status of the IA and initializes also the other fields to an empty string (or empty array for e.g. attribution).

example usage: `script/ddgc_create_ia.pm CourseBuffet coursebuffet alpha`

I tested it adding the [CourseBuffet IA](https://github.com/duckduckgo/zeroclickinfo-spice/pull/935).
Screenshots:
![screen shot 2014-11-05 at 15 56 26](https://cloud.githubusercontent.com/assets/3652195/5030268/01893072-6b4f-11e4-8dba-f7fdb10e5490.png)
![screen shot 2014-11-05 at 15 57 50](https://cloud.githubusercontent.com/assets/3652195/5030271/0899b09e-6b4f-11e4-8f2b-43cced364e35.png)

Now that I look at an almost empty IA page, I also realize that we shouldn't display the screens if there's no example query.
I'll open another PR to fix that.