GithubHelp home page GithubHelp logo

[Request] Restart Command about pathvector HOT 5 OPEN

rapdodge avatar rapdodge commented on August 25, 2024
[Request] Restart Command

from pathvector.

Comments (5)

Dennis-de-Houx avatar Dennis-de-Houx commented on August 25, 2024 1

Pull Request has been made

from pathvector.

Dennis-de-Houx avatar Dennis-de-Houx commented on August 25, 2024

Hello rapdodge,

Would something like this help you out:

  • "pathvector protocol --restart [protocol]"
  • "pathvector protocol --reload [protocol]"
  • "pathvector protocol --enable [protocol]"
  • "pathvector protocol --disable [protocol]"

I would be happy (when I have a bit of time) to make this and send it in for a pull request.

from pathvector.

rapdodge avatar rapdodge commented on August 25, 2024

Hello rapdodge,

Would something like this help you out:

  • "pathvector protocol --restart [protocol]"
  • "pathvector protocol --reload [protocol]"
  • "pathvector protocol --enable [protocol]"
  • "pathvector protocol --disable [protocol]"

I would be happy (when I have a bit of time) to make this and send it in for a pull request.

Hello Dennis,

That would be great idea ☺️
But, I think without -- is better (?)

So, it would be like

pathvector protocol (type (restart, enable, disable, etc)) [protocol]

Thanks,

from pathvector.

Dennis-de-Houx avatar Dennis-de-Houx commented on August 25, 2024

Hello rapdodge,

I have made a beta version, will do some debugging later on the day/night and then do a pull request (PR).

I have the following for command line:

pathvector protocol <(r)estart|re(l)oad|(e)nable|(d)isable> <protocol name> -m <message>

Message is only used for custom message on enable/disable with a default disable message "Protocol manually disabled by pathvector"

Example

pathvector protocol disable TRANSIT1_V6 --message "Cable is damaged"

and the shorthand version

pathvector p d TRANSIT1_V6 -m "Cable is damaged"

from pathvector.

rapdodge avatar rapdodge commented on August 25, 2024

Hello rapdodge,

I have made a beta version, will do some debugging later on the day/night and then do a pull request (PR).

I have the following for command line:

pathvector protocol <(r)estart|re(l)oad|(e)nable|(d)isable> <protocol name> -m <message>

Message is only used for custom message on enable/disable with a default disable message "Protocol manually disabled by pathvector"

Example

pathvector protocol disable TRANSIT1_V6 --message "Cable is damaged"

and the shorthand version

pathvector p d TRANSIT1_V6 -m "Cable is damaged"

That's nice!
Looking forward into it 😁

from pathvector.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.