DataDog/dogapi — pull request #1 by ormsbee (2011-10-24 14:51:49+00:00)
Title: Dashboards push

To use:

# Summary listing of dashboards
dog dashboard show_all

# Grab all dashboards on the server and dump into a directory, auto-naming from title
dog dashboard pull_all [directory]

# Download a single dashboard into a target file
dog dashboard pull [dash_id] [dest filename]

# Push an update to the server for a single dashboard from a file
dog dashboard push [file1] [file2]...

# Create a new (empty) dashboard on the server and download the skeleton (with ID) to a file.
dog dashboard new_file [filename]

@Matt: This is mostly built into the script level and still not at the API level. Please let me know if the interface is ok, and if you want all this functionality built into the API end of things (I felt a little iffy about things like pull_all and new_file in the API, but it's your call). Sorry it's late. :-(