Skip to content

Conversation

@alilleybrinker
Copy link
Member

This amends the manifest create arguments, turning the list of input files from a flag (-i / --input) into a positional argument. Normally I'm wary of positional arguments because they're less backwards compatible 1, but in this case this argument should always be the primary one, and making it positional makes it easier to integrate with things like shell subcommands to produce a file list.

Closes #243

@alilleybrinker alilleybrinker self-assigned this Apr 22, 2025
@alilleybrinker alilleybrinker added type: feature New feature or request crate: omnibor-cli Relating to the omnibor-cli crate labels Apr 22, 2025
@alilleybrinker alilleybrinker moved this to In review in OmniBOR Rust Apr 22, 2025
@alilleybrinker
Copy link
Member Author

Ah, looks like the dist configuration is out of date (it's trying to use Ubuntu runners which GitHub has now decommissioned). So I'll need to update dist before this can proceed.

@alilleybrinker alilleybrinker force-pushed the alilleybrinker/cli-multi-input branch from 1b58175 to bbd9040 Compare April 22, 2025 16:44
@alilleybrinker
Copy link
Member Author

Hm, even after merging the dist fix in another PR and rebasing off of that, this PR still seems to be trying to run on Ubuntu 20.04 instead of 22.04. Investigating...

This amends the `manifest create` arguments, turning the list of input files
from a flag (`-i` / `--input`) into a positional argument. Normally I'm wary of
positional arguments because they're less backwards compatible [1], but in this
case this argument should always be the primary one, and making it positional
makes it easier to integrate with things like shell subcommands to produce a
file list.

[1]: https://clig.dev/#arguments-and-flags

Issue: #243
Signed-off-by: Andrew Lilley Brinker <alilleybrinker@gmail.com>
@alilleybrinker alilleybrinker force-pushed the alilleybrinker/cli-multi-input branch from bbd9040 to e9d27da Compare April 22, 2025 16:52
@alilleybrinker alilleybrinker merged commit 841b902 into main Apr 22, 2025
11 checks passed
@alilleybrinker alilleybrinker deleted the alilleybrinker/cli-multi-input branch April 22, 2025 16:56
@github-project-automation github-project-automation bot moved this from In review to Done in OmniBOR Rust Apr 22, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

crate: omnibor-cli Relating to the omnibor-cli crate type: feature New feature or request

Projects

No open projects
Status: Done

Development

Successfully merging this pull request may close these issues.

Add CLI support for input list expansion

2 participants