update `run` cli command to run pipelines without an input

Open Beginner friendly
#2,203 1 comment 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

@NoiceHax is already working on this.

Since Aug 15, 2026.

  • #2207 by @NoiceHax — open

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
72/100
Issue type
Bug
Clarity
Clearly specified
Activity status
Quiet
Tech stack
django, python
Domain
cli

Research direction

Start in scanpipe/management/commands/run.py at the linked section where the CLI input argument is defined and validated, then follow into the pipeline execution path that rejects missing input paths. Check how a pipeline is detected and whether a no-input pipeline variant should bypass that requirement. Done means python manage.py run <pipeline> works without "" for no-input pipelines, and any run-command test coverage is updated or added for this behavior.

Written by the indexing model from the issue text.

Description

nice-to-have

I have a pipeline that does not take an input that I would like to run using the cli, but an input location is required (https://github.com/aboutcode-org/scancode.io/blob/main/scanpipe/management/commands/run.py#L51)

As a workaround, I can run my pipeline by using python manage.py run <pipeline> "".

Dominant language
Python
Stars
226
Forks
222
Avg merge
1d 5h
Merged PRs (30d)
32

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from aboutcode-org/scancode.io

All issues in aboutcode-org/scancode.io

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.