Skip to content

Boolean args should be allowed as flags on the command line #17

@Mortimerp9

Description

@Mortimerp9

When an argument is a boolean, the presence of the --arg on the command line should be enough to infer true, it shouldn't be mandatory to write --arg true.
e.g.

class DoSchedule extends FieldArgs {
   var schedule = false
}
  • with --schedule flag, set to true
  • without the argument, set to false

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