Skip to content

Commit fb530fb

Browse files
committed
fixup! fixup! docs: Add tedge-write documentation page
1 parent 0cca3a0 commit fb530fb

1 file changed

Lines changed: 1 addition & 28 deletions

File tree

docs/src/references/tedge-write.md

Lines changed: 1 addition & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -59,32 +59,5 @@ sudo tedge config set sudo.enable false
5959

6060
## Command help
6161

62-
```sh title="tedge-write"
63-
tee-like helper for writing to files which `tedge` user does not have write permissions to.
64-
65-
To be used in combination with sudo, passing the file content via standard input.
66-
67-
Usage: tedge-write [OPTIONS] <DESTINATION_PATH>
68-
69-
Arguments:
70-
<DESTINATION_PATH>
71-
A canonical path to a file to which standard input will be written.
72-
73-
If the file does not exist, it will be created with the specified owner/group/permissions. If the file does exist, it will be overwritten, but its owner/group/permissions will remain unchanged.
74-
75-
Options:
76-
--mode <MODE>
77-
Permission mode for the file, in octal form
78-
79-
--user <USER>
80-
User which will become the new owner of the file
81-
82-
--group <GROUP>
83-
Group which will become the new owner of the file
84-
85-
-h, --help
86-
Print help (see a summary with '-h')
87-
88-
-V, --version
89-
Print version
62+
```sh command="tedge-write --help" title="tedge-write --help"
9063
```

0 commit comments

Comments
 (0)