Skip to content

Groundwork Tutorial Code Editing not accurate #24

@haiyangToAI

Description

@haiyangToAI

https://groundwork.readthedocs.io/en/latest/quickstart.html

###Original Code###
from groundwork import App

if __name__== "__main__":
my_app = App()
my_app.plugins.activate(["GwPluginInfo"])
my_app.commands.start_cli()
#################

It should be ["GwPluginsInfo"]

https://groundwork.readthedocs.io/en/latest/commands.html

###Original Code###
from groundwork import App
from groundword.plugins import GwCommandInfo

my_app = App()
my_app.plugins.activate(["GwCommandInfo"])
my_app.commands.start_cli()
################

It should be " GwCommandsInfo"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions