Code Monkey home page Code Monkey logo

Comments (12)

tibs245 avatar tibs245 commented on September 22, 2024 1

It's merged, we can close it ? #1629

from shuttle.

biplab5464 avatar biplab5464 commented on September 22, 2024

is anyone is working in the issue
i want to work in this

from shuttle.

jonaro00 avatar jonaro00 commented on September 22, 2024

@biplab5464 All yours. Thanks for showing interest.

from shuttle.

biplab5464 avatar biplab5464 commented on September 22, 2024

can you give me little hint where to start

from shuttle.

jonaro00 avatar jonaro00 commented on September 22, 2024

You can either start by adding the arguments in cargo-shuttle/src/args, and passing them into the functions that eventually call the log endpoints, or you can start by adding query parameters to deployer's two log endpoints, and pass them on to the gRPC call to logger (requires updating the logger's proto file and regenerating the proto code).

from shuttle.

biplab5464 avatar biplab5464 commented on September 22, 2024

--head --tail --all are all optional value right

from shuttle.

jonaro00 avatar jonaro00 commented on September 22, 2024

Yes

from shuttle.

biplab5464 avatar biplab5464 commented on September 22, 2024

currently -h use for help so we have to give some other short name to the head

Command mod_test: Short option names must be unique for each argument, but '-h' is in use by both 'head' and 'help' (call `cmd.disable_help_flag(true)` to remove the auto-generated `--help`)

from shuttle.

jonaro00 avatar jonaro00 commented on September 22, 2024

Hmm, yeah then we can probably skip the short args for now.

from shuttle.

biplab5464 avatar biplab5464 commented on September 22, 2024

hey, can you help me, i have added the argument in the function but i am unable to understand how the log is getting fetch and how can get log of specific head and tail
if we can talk over something like discord ?

and can you please review the above code tell me if it need any change

from shuttle.

jonaro00 avatar jonaro00 commented on September 22, 2024

The argument definitions are looking good. The parsing to make the arguments mutually exclusive can instead be accomplished with the clap macros.

You can ask in the contributors channel in our discord if you want more help.

from shuttle.

biplab5464 avatar biplab5464 commented on September 22, 2024

i will use clap macros for mutual exclusion
okay, Thanks

from shuttle.

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.