Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cs: purge global state #3827

Merged
merged 1 commit into from
Jul 11, 2020
Merged

cs: purge global state #3827

merged 1 commit into from
Jul 11, 2020

Conversation

oncilla
Copy link
Contributor

@oncilla oncilla commented Jul 10, 2020

Purge the global state from the control server.
Drop the hook system work around.

As part of this pull request, the control server is moved to cobra.
The flags slightly changed compared to the previous implementation.
With the move to cobra, the flags are POSIX style, and no longer go style.

This means -config is no longer a valid flag. Instead, use:

cs --config cs.toml

The sample file generation has been moved to a sub command:

cs sample config
cs sample policy

Auto completion support is added as a sub command:

cs completion --help

This change is Reviewable

Copy link
Contributor Author

@oncilla oncilla left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewed 5 of 6 files at r1, 28 of 28 files at r2.
Reviewable status: :shipit: complete! all files reviewed, all discussions resolved

@oncilla
Copy link
Contributor Author

oncilla commented Jul 10, 2020

/rebase

Purge the global state from the control server.
Drop the hook system work around.

As part of this pull request, the control server is moved to cobra.
The flags slightly changed compared to the previous implementation.
With the move to cobra, the flags are POSIX style, and no longer go style.

This means `-config` is no longer a valid flag. Instead, use:

    cs --config cs.toml

The sample file generation has been moved to a sub command:

    cs sample config
    cs sample policy

Auto completion support is added as a sub command:

    cs completion --help
@oncilla oncilla merged commit bae465d into scionproto:master Jul 11, 2020
@oncilla oncilla deleted the pub-cs-purge branch August 7, 2020 12:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant