Giter VIP home page Giter VIP logo

cdo's People

Contributors

dotboris avatar renovate[bot] avatar

Stargazers

 avatar

Watchers

 avatar  avatar

cdo's Issues

Dependency Dashboard

This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.

Awaiting Schedule

These updates are awaiting their schedule. Click on a checkbox to get an update now.

  • Lock file maintenance

Detected dependencies

cargo
Cargo.toml
  • anyhow 1.0.75
  • clap 4.4.11
  • assert_cmd 2.0.12
  • tempfile 3.8.1
github-actions
.github/workflows/ci.yml
  • actions/checkout v4
  • Swatinem/rust-cache v2
  • actions/checkout v4
  • Swatinem/rust-cache v2
  • actions/checkout v4
  • Swatinem/rust-cache v2
  • actions/checkout v4
  • Swatinem/rust-cache v2
.github/workflows/nix.yml
  • actions/checkout v4
  • cachix/install-nix-action v24
  • actions/checkout v4
  • cachix/install-nix-action v24
  • actions/checkout v4
  • cachix/install-nix-action v24
nix
flake.nix
  • nixpkgs nixpkgs-unstable

  • Check this box to trigger a request for Renovate to run again on this repository

Single `--version`, `--help` (or shorthands) are swallowed up by `cdo`

When I call cdo some-dir echo --version I would expect to see --version as the output but instead, I see cdo's version output. This is true for all the following:

$ cdo some-dir echo --version
cdo 0.1.0

$ cdo some-dir echo -V
cdo 0.1.0

$ cdo some-dir echo --help
Runs a command in the given directory

Usage: cdo <DIRECTORY> <COMMAND> [ARGS]...

Arguments:
  <DIRECTORY>  The directory to run the command in
  <COMMAND>    The command to run
  [ARGS]...    The arguments to pass to the command

Options:
  -h, --help     Print help
  -V, --version  Print version

$ cdo some-dir echo -h
Runs a command in the given directory

Usage: cdo <DIRECTORY> <COMMAND> [ARGS]...

Arguments:
  <DIRECTORY>  The directory to run the command in
  <COMMAND>    The command to run
  [ARGS]...    The arguments to pass to the command

Options:
  -h, --help     Print help
  -V, --version  Print version

What's interesting is that when I pass a flag before one of those, it behaves as expected. So this works fine:

$ cdo src echo --foo --version
--foo --version

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.