Skip to content

Add an export script, that excludes unsafe commands from release builds. #26

@Kubulambula

Description

@Kubulambula

I envisioned GDShell as a safe console by default with commands, that should don't do any harm to your projects if a user has access to it. Some commands useful for debugging have to be unsafe to be useful and providing a secondary repository with commands is just annoying to use for both developers and users.

We could make an export script that looks through all available GDShell commands and excludes unsafe scripts by looking at other SAFE flag. It would be a property of GDShellCommand and thus can be overridden in user commands if they wish to exclude their scripts from release builds.

Metadata

Metadata

Assignees

No one assigned

    Labels

    discussionSophisticated exchange of opinionsenhancementNew feature or improvementgood first issueGood for newcomersproposalSuggest a change or a new feature

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions