Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Here is my proposed CLI for this package.
I envisioned a similar setup to samtools where the interface is split up into specific commands for each function in the package (
bionode-seq reverse...
,bionode-seq translate...
, etc.).I'm not sure if this is the best way to organize the interface, any thoughts or opinions would be greatly appreciated.
Currently, the input is a ndjson file where each line will be sent to the specified function.
One potential downfall of this organization is when one would like to perform different functions on different records in the same file.
I could set this up such that the function to be performed is included in each line of the input file so that one could easily perform different functions within the same file.
If anyone can think of a more elegant way to get the arguments from the functions, I am open to suggestions.
The only way that I could think of doing it is with the
commands
object, but this could be a pain to update as the interface to the functions change.