Skip to content

Add support for cargo oxide debug and pipeline commands in non-example projects - #103

Merged
nihalpasham merged 3 commits into
NVIDIA:mainfrom
Barrow099:feat/cargo-oxide-commands
Jun 12, 2026
Merged

nihalpasham merged 3 commits into
NVIDIA:mainfrom
Barrow099:feat/cargo-oxide-commands

Conversation

@Barrow099

Copy link
Copy Markdown

The cargo oxide {debug, pipeline} commands were requiring an example folder to run, thus unusable for "normal" projects. This PR aims to solve this issue by reusing the code used by the run and build commands to work in normal projects.

Signed-off-by: mate.magyar <mate.magyar@ukatemi.com>
@Barrow099
Barrow099 force-pushed the feat/cargo-oxide-commands branch from 0dd1919 to 4a69902 Compare June 3, 2026 07:38
@nihalpasham nihalpasham added enhancement New feature or request cargo-oxide The `cargo oxide` subcommand and build automation labels Jun 6, 2026
…ndalone mode

The clap doc strings still described the example arg as workspace-only,
and resolve_example_name printed 'cargo oxide run' in its usage line
regardless of which subcommand was missing the argument.
@nihalpasham

Copy link
Copy Markdown
Collaborator

LGTM 👍🏾.

Layered one polish commit on top:

  • --help for pipeline/debug now says "required in workspace, optional for standalone projects", matching run/build
    the workspace-mode usage error names the actual subcommand (Usage: cargo oxide pipeline ) instead of always saying run

@nihalpasham
nihalpasham merged commit 5b7303d into NVIDIA:main Jun 12, 2026
24 checks passed
meefs pushed a commit to meefs/cuda-oxide that referenced this pull request Sep 30, 2026
Signed-off-by: tuananhp <tuananhp@nvidia.com>
Co-authored-by: Melih Elibol <elibol@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cargo-oxide The `cargo oxide` subcommand and build automation enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants