Skip to content

Document using @main to designate the root command #279

Closed
@natecook1000

Description

@natecook1000

ArgumentParser projects built using Swift PM or Xcode can now use the @main attribute to designate the root command instead of calling Example.main(). We should document that usage as the correct default approach.

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentation

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions