-
Notifications
You must be signed in to change notification settings - Fork 0
Description
Issue Description:
Currently, the Rimo tool provides a convenient way to create statistics. However, there seems to be a missing feature that could enhance the tool's usability further. It would be great if Rimo could support reading input data from the standard input using a special file name, such as -, which is a common convention in many command-line tools.
Feature Request:
I would like to request the addition of support for using the special file name - to read input data from the standard input for the rimo analyse command. This would allow users to provide input data directly through standard input, without the need to specify an input directory and input file names explicitly.
Proposed Behavior:
When the special file name - is used as the input argument for the rimo analyse command, Rimo should read input data from the standard input stream. This would enable users to pipe or redirect data directly into the tool, making it more versatile and in line with common command-line practices.
Example:
rimo analyse - output_directoryBenefits:
- Improved usability: Users can input data without the need to create intermediary files.
- Consistency: The use of
-as a special file name is widely recognized in command-line tools. - Streamlined workflows: Users can easily integrate Rimo into their pipelines and scripts.
Implementation Considerations:
- The tool should detect the use of
-as a file name specifically for theinputargument of therimo analysecommand. - When
-is used as theinputargument, Rimo should read data from the standard input stream. - Care should be taken to handle potential conflicts with existing functionality or argument parsing.
Additional Context:
This enhancement would align Rimo with best practices for command-line tools and provide users with a more seamless experience when working with input data. It would particularly benefit users who prefer to work with pipelines and automate their workflows.
Thank you for considering this feature request. Please let me know if any further information is required or if there are any suggestions regarding the proposed functionality.
Environment Information:
- Rimo version: 0.1.0
- Operating System: linux
Labels:
- feature request
- command-line tool
- usability