8000 cli refactoring · Issue #5 · cirocosta/tinyc · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
cli refactoring #5
Open
Open
@cirocosta

Description

@cirocosta

Each flag could take a method pointer that takes a proc_t* and a pointer to the flag object itself such that it can modify cli_t according to the variable that it sees and also accumulate results in the flag object. This way we'd always add new items via the array of pointers to flag structs instead of modifying the main method of 'cli_parse'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0