Skip to content

Refactor to separate command from library functions #1

Description

@mholt

I would like to propose refactoring the repository so that most of the logic is moved out of the main package and into a new package called warp or cfwarp.

That way, the main package can call library functions to log in, start the server/tunnel, etc, as would a Caddy plugin or k8s ingress controller, without duplicating code.

I'm starting on this locally already, and if I can get it working I'll submit a PR.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type: EnhancementMinor update(s) to existing features

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions