Skip to content

Parser api inconsistencies commands v others #246

Closed

Description

@mmulholla

The parser API treats commands differently from other objects:

GetCommands() map[string]v1.Command
AddCommands(commands ...v1.Command) error

compared to, for example,

GetComponents() []v1.Component
AddComponents(components []v1.Component) error

would be better if commands was:

GetCommands() []v1.Command
AddCommands(commands []v1.Command) error

Activity

  1. yangcao77 commented on Dec 9, 2020

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

Metadata

Metadata

Assignees

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