File 'src/charm.py'

List of files in the charm project > src/charm.py

The src/charm.py is the default entry point for a charm. This file must be executable, and should include a shebang to indicate the desired interpreter. For many charms, this file will contain the majority of the charm code. It is possible to change the name of this file, but additional changes are then required to enable the charm to be built with charmcraft.

Last updated 1 year, 9 months ago. Help improve this document in the forum or File an issue .