Code Monkey home page Code Monkey logo

Comments (3)

davidmezzetti avatar davidmezzetti commented on July 17, 2024

For another project backed by txtai, the query language had a hook to require a term. For example, you could do "+python find in list" and it would only return matches if Python was in the text or a tag.

Is this what you had in mind?

from codequestion.

FruityWelsh avatar FruityWelsh commented on July 17, 2024

something like that, basically something to say "How do I do X?" and be able to avoid "in python/javascript/rust/etc" by default. Just an annoyance I've run into with these kind of language queries and seems possibly solvable in cl tool like this.

Maybe options maybe better suited to the task? So something like codequestion --py how do I itterate a list for python answers, and codequestion --rs how do I iterate a list for rust answers.
What I was thinking of first though was something like an env var CODEQUESTION_DEFAULT_LANG which could be set to whatever language you primally code in.

Really like the tool so far by the way :)

Edit:
made the py, rs options example double lined options from single lines to keep them inline with normal command line standards.

from codequestion.

davidmezzetti avatar davidmezzetti commented on July 17, 2024

Added default language to query and shell

from codequestion.

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.