From 7923aa8942b55884320ef2428417e3ee4b121613 Mon Sep 17 00:00:00 2001 From: Minteck Date: Mon, 28 Nov 2022 17:31:34 +0100 Subject: Initial commit --- Components/DisplayFile/metadata.yml | 46 +++++++++++++++++++++++++++++++++++++ 1 file changed, 46 insertions(+) create mode 100644 Components/DisplayFile/metadata.yml (limited to 'Components/DisplayFile/metadata.yml') diff --git a/Components/DisplayFile/metadata.yml b/Components/DisplayFile/metadata.yml new file mode 100644 index 0000000..e05d233 --- /dev/null +++ b/Components/DisplayFile/metadata.yml @@ -0,0 +1,46 @@ +description: Displays one or multiple file(s) in the terminal +internal: false + +aliases: + - cat + - type + - more + - less + +manual: + summary: | + This command displays one or multiple file(s) in the terminal. + + parameters: + - name: Pagination + description: Enable pagination (scrolling) + required: false + + - name: Hex + description: Display an hexadecimal dump of the file instead of the contents of the file itself + required: false + + - name: Search + value: Query + description: Search for text in the file(s); does not work with -Pagination + required: false + + final: + name: File + description: The file(s) to display + required: true + multiple: true + command: false + path: true + daemon: false + + examples: + - command: DisplayFile /User/Document.txt + description: Display the "Document.txt" file + + - command: DisplayFile -Pagination /User/Essay.txt + description: Display the "Essay.txt" file with pagination + + compatibility: + mistyos: '>=1.0.0' + kernel: '>=5.10.0' \ No newline at end of file -- cgit