Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[session] Config file should be an option for the base command #442

Open
viklund opened this issue Aug 28, 2024 · 0 comments · May be fixed by #458
Open

[session] Config file should be an option for the base command #442

viklund opened this issue Aug 28, 2024 · 0 comments · May be fixed by #458
Assignees
Labels
demo enhancement New feature or request refactor

Comments

@viklund
Copy link
Member

viklund commented Aug 28, 2024

As a user of the tool
I want options that apply settings for all subcommands to come before subcommands
So that it's easier to understand what is what

Description

It's weird that the more "global" options are specified for each subcommand instead of globally.

sda-cli -config <config-file> list --dataset <dataset>

A/C

  • it's possible to specify the config file as an option to the base command instead of the subcommands
  • add tests

Demo

2 minutes.

@viklund viklund added demo enhancement New feature or request labels Aug 28, 2024
@pahatz pahatz self-assigned this Oct 2, 2024
@pahatz pahatz linked a pull request Oct 16, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
demo enhancement New feature or request refactor
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants