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

@tcyrus

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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions