Skip to content

Hide preview commands behind the --pre flag as Seq does#350

Merged
nblumhardt merged 1 commit intodatalust:feature/forwarderfrom
nblumhardt:pre-flag
May 8, 2024
Merged

Hide preview commands behind the --pre flag as Seq does#350
nblumhardt merged 1 commit intodatalust:feature/forwarderfrom
nblumhardt:pre-flag

Conversation

@nblumhardt
Copy link
Member

This has two general effects:

  1. The help command will only list preview commands when the --pre flag is specified, and
  2. Preview commands can only be invoked when --pre is specified.

This is the same system that Seq uses.

The PR marks the forwarder commands as preview, so that when we have assembled the major pieces of it, we'll be able to bring the whole thing back to dev a little sooner.

Copy link
Contributor

@liammclennan liammclennan left a comment

Choose a reason for hiding this comment

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

Does this hide the prerelease commands from the generated doco?

@nblumhardt
Copy link
Member Author

@liammclennan yep! 👍

Thanks for the review

@nblumhardt nblumhardt merged commit 1292fbb into datalust:feature/forwarder May 8, 2024
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.

2 participants