grafyaml/doc/source/grafana-dashboard.rst
Paul Belanger fd76590e4b Add delete command to CLI
Add the ability to delete dashboards based on the provided yaml file.
We also removed the assert_dashboard_exists function, as it didn't
really save us code.

Change-Id: I417a72fcc5252b36cadfe8881b4f5ca6acb7c753
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
2015-10-16 11:33:32 -04:00

52 lines
1.0 KiB
ReStructuredText

=================
grafana-dashboard
=================
SYNOPSIS
========
``grafana-dashboard`` [options] <command> [<args>...]
DESCRIPTION
===========
``grafana-dashboard`` is a CLI command to update Grafana dashboards from yaml
files.
OPTIONS
=======
-h, --help Show this help message and exit
--config-file CONFIG Path to a config file to use. The default files used
is: /etc/grafyaml/grafyaml.conf
--debug Print debugging output (set logging level to DEBUG
instead of default INFO level)
--version Show program's version number and exit
COMMANDS
========
Delete Command
--------------
``grafana-dashboard`` [options] delete <path>
Delete each specified dashboard from the parsed yaml files.
Update Command
--------------
``grafana-dashboard`` [options] update <path>
Updates each specified dashboard to the lastest layout from parsed yaml files.
FILES
=====
/etc/grafyaml/grafyaml.conf
AUTHOR
======
.. include:: ../../AUTHORS