Skip to content

Commit

Permalink
fixup! fixup! docs: Add tedge-write documentation page
Browse files Browse the repository at this point in the history
  • Loading branch information
Bravo555 committed Sep 13, 2024
1 parent 0cca3a0 commit fb530fb
Showing 1 changed file with 1 addition and 28 deletions.
29 changes: 1 addition & 28 deletions docs/src/references/tedge-write.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,32 +59,5 @@ sudo tedge config set sudo.enable false

## Command help

```sh title="tedge-write"
tee-like helper for writing to files which `tedge` user does not have write permissions to.

To be used in combination with sudo, passing the file content via standard input.

Usage: tedge-write [OPTIONS] <DESTINATION_PATH>

Arguments:
<DESTINATION_PATH>
A canonical path to a file to which standard input will be written.

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.

Options:
--mode <MODE>
Permission mode for the file, in octal form

--user <USER>
User which will become the new owner of the file

--group <GROUP>
Group which will become the new owner of the file

-h, --help
Print help (see a summary with '-h')

-V, --version
Print version
```sh command="tedge-write --help" title="tedge-write --help"
```

0 comments on commit fb530fb

Please sign in to comment.