Charmed-Kubernetes/nrpe/mod/charmhelpers/docs/api/charmhelpers.fetch.snap.rst

27 lines
527 B
ReStructuredText

charmhelpers.fetch.snap package
===============================
.. automodule:: charmhelpers.fetch.snap
:members:
:undoc-members:
:show-inheritance:
Examples
--------
.. code-block:: python
snap_install('hello-world', '--classic', '--stable')
snap_install(['hello-world', 'htop'])
.. code-block:: python
snap_refresh('hello-world', '--classic', '--stable')
snap_refresh(['hello-world', 'htop'])
.. code-block:: python
snap_remove('hello-world')
snap_remove(['hello-world', 'htop'])