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

chore: make fedimnt-cli module <module> be positional #4522

Merged
merged 1 commit into from
Mar 11, 2024

Conversation

dpc
Copy link
Contributor

@dpc dpc commented Mar 10, 2024

I know that I'm usually advocating for long/named arguments but:

fedimint-cli module --module meta get-consensus

is just silly. Instead if we:

fedimint-cli module meta get-consensus

along with some other improvements I'm working on will make module-specific CLI a first class citizens of fedimint-cli.

@dpc dpc requested a review from a team as a code owner March 10, 2024 19:53
Copy link
Member

@bradleystachurski bradleystachurski left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We'll need to conditionally handle for backwards compatibility.

38665   │ 2024-03-10T20:02:24.4435443Z 00:00:33 error: unexpected argument '--module' found
38666   │ 2024-03-10T20:02:24.4435510Z 00:00:33
38667   │ 2024-03-10T20:02:24.4435674Z 00:00:33   tip: to pass '--module' as a value, use '-- --module'

I know that I'm usually advocating for long arguments but:

```
fedimint-cli module --module meat get-consensus
```

is just silly.

```
fedimint-cli module meta get-consensu
```

along with some other improvements i'm working on will make
module-specific first class citizens of fedimint-cli.
@dpc dpc force-pushed the 24-03-10-possitional-arg branch from 045d78f to 6938de4 Compare March 11, 2024 00:44
@m1sterc001guy m1sterc001guy added this pull request to the merge queue Mar 11, 2024
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Mar 11, 2024
@dpc dpc added this pull request to the merge queue Mar 11, 2024
Merged via the queue into fedimint:master with commit f4955c8 Mar 11, 2024
20 checks passed
@dpc dpc deleted the 24-03-10-possitional-arg branch March 11, 2024 19:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants