Skip to content

Create CLI Tool #12

@crankynetman

Description

@crankynetman

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",
        ],
    }

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