Skip to content
This repository was archived by the owner on Mar 25, 2022. It is now read-only.
This repository was archived by the owner on Mar 25, 2022. It is now read-only.

[Enhancement] Parse Python Docstrings to Populate App Manifest #28

Description

@tcyrus

It would be neat if the app manifest could be created entirely from the reST docstring (recommended format by PEP 287)

class Foobanizer(ASAppRepresentative):
    """
    Generate random foobanized strings on the fly.

    :bundleName: Foobanizer
    :bundleId: app.aliceos.foobanizer
    :bundleDir: {AS_APPS_DIR}Foobanizer.aosapp/
    :bundleAuthor: AliceOS Developers
    :bundleVersion: 1.0.0
    """

The docstring can be accessed via the __doc__ attribute.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions