Code Monkey home page Code Monkey logo

Comments (4)

zyedidia avatar zyedidia commented on July 30, 2024

I see the issue, it seems like having a regex option could work (I have this implemented on the rgxasset branch). Another option could be to allow --asset to be specified multiple times, each time filtering a little more. For example you could use --asset amd64.deb --asset musl. Not sure which solution is better at the moment.

from eget.

thorstenkampe avatar thorstenkampe commented on July 30, 2024

--asset can already be specified multiple times - but it does the opposite. And it would not allow me to specify the "non-musl" version.

./eget --asset amd64.deb --asset musl sharkdp/bat
4 candidates found for asset `musl`: please select manually
(1) bat-musl_0.18.3_amd64.deb
(2) bat-musl_0.18.3_i686.deb
(3) bat-v0.18.3-i686-unknown-linux-musl.tar.gz
(4) bat-v0.18.3-x86_64-unknown-linux-musl.tar.gz
Enter selection number:

from eget.

zyedidia avatar zyedidia commented on July 30, 2024

I think in the current version it will just use the asset value most recently specified, so in this case it is just finding all musl matches.

from eget.

zyedidia avatar zyedidia commented on July 30, 2024

I have decided to go with filtering via multiple flags. The update has been merged, and --asset can now also be abbreviated to -a. I will make a new release later tonight.

from eget.

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.