Skip to content

Create CLI Tool #12

Description

@crankynetmaam

It could be handy to have a CLI tool that uses the bgpstuff client. I'd imagine this would look something like:

[chris@chris-lt01 ~]$ bgpstuff asn_name 6939
'HURRICANE'

Should be easy enough to do with console_scripts in setup.py (assumes CLI script lives in cli.py):

entry_points={
        "console_scripts": [
            "bgpstuff = bgpstuff.cli:cli",
        ],
    }

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions