Description
Expand Storify's command similar to HDFS file viewing commands.
Support Commands
- Grep (
grep): Search for patterns in path
storify grep -R "pattern" path/
- Find (
find): Find for patterns in path
- Tree (
tree): View directory structure
- Diff (
diff): View the differences between the two files
- Touch (
touch): Create a new file
storify touch path/newfile
- Truncate (
truncate): Truncate the file
storify truncate path/file
- Append (
append): Append the file
Implementation Notes
- All operations should work across OSS, S3, MinIO, and filesystem providers
- Maintain existing code structure and error handling patterns
- Support both line-based and byte-based operations
- Add appropriate CLI arguments and help text
- Implement proper error handling for non-existent files and permission issues
Description
Expand Storify's command similar to HDFS file viewing commands.
Support Commands
grep): Search for patterns in pathstorify grep -R "pattern" path/find): Find for patterns in pathstorify find path/tree): View directory structurestorify tree path/diff): View the differences between the two filesstorify diff file1 file2touch): Create a new filestorify touch path/newfiletruncate): Truncate the filestorify truncate path/fileappend): Append the filestorify append path/fileImplementation Notes