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

fix(cli): correctly deprecate input args #1271

Merged
merged 2 commits into from
Oct 12, 2023

Conversation

ivan-aksamentov
Copy link
Member

@ivan-aksamentov ivan-aksamentov commented Oct 12, 2023

  • Add error message for removed --input-virus-properties, --input-root-seq, --reference, --input-gene-map, --genemap
  • Deduplicate error messages text.
  • Group deprecated args in one place

@vercel
Copy link

vercel bot commented Oct 12, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
nextclade ✅ Ready (Inspect) Visit Preview Oct 12, 2023 5:00am

@ivan-aksamentov ivan-aksamentov force-pushed the fix/cli-args-deprecate-corr branch from 46d8654 to faa9090 Compare October 12, 2023 04:20
 - Add error message for removed `--input-virus-properties`, `--input-root-seq`, `--reference`, `--input-gene-map`, `--genemap`
 - Deduplicate error messages text.
 - Group deprecated args in one place
Emit messages when the following args are used:

 For `dataset get`:

```
--reference
--attributes
```

 For `dataset list`:

```
--reference
--attributes
--include-old
```

Reminder, Nextclade v3 datasets are uniquely identified by their name (path) and tag only, so all other attributes lost their meaning.

All version tags are listed so `--include-old` is no longer relevant.
@ivan-aksamentov ivan-aksamentov force-pushed the fix/cli-args-deprecate-corr branch from cc13040 to 94c6ee7 Compare October 12, 2023 04:53
@ivan-aksamentov ivan-aksamentov merged commit 325acb4 into master Oct 12, 2023
16 checks passed
@ivan-aksamentov ivan-aksamentov deleted the fix/cli-args-deprecate-corr branch October 12, 2023 05:38
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.

1 participant