Skip to content

Commit c37f7b2

Browse files
author
JojiiOfficial
authored
Update README.md
1 parent dc5be2d commit c37f7b2

File tree

1 file changed

+40
-0
lines changed

1 file changed

+40
-0
lines changed

README.md

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,3 +26,43 @@ Use `manager login` to login into your account
2626
`namespace` The default namespace to use<br>
2727
`tags` Specify tags to use as default for uploading filetags<br>
2828
`groups` Specify groups to use as default for uploading filegroups<br>
29+
30+
# Usage
31+
```bash
32+
manager [<flags>] <command> [<args> ...]
33+
```
34+
35+
Tipp: Run `manager --help-man | man -l -` to view the manpage of manager<br>
36+
37+
### Autocompletion
38+
#### Bash
39+
```bash
40+
eval "$(manager --completion-script-bash)"
41+
```
42+
#### Zsh
43+
```zsh
44+
eval "$(manager --completion-script-zsh)"
45+
```
46+
47+
### Examples
48+
49+
#### User
50+
- Register `manager register`
51+
- Login `manager login`
52+
53+
#### Files
54+
- Upload and share your .bashrc `manager upload -t dotfile -g myLinuxGroup --public ~/.bashrc`
55+
- Upload and encrypt your .bashrc `manager upload ~/.bashrc --encrypt aes -r`
56+
- List files `manager files`
57+
- List files having the a tag called 'dotfile' `manager files -t dotfile`
58+
- Delete file by ID `manager file rm 123`
59+
- Delete file by Name `manager file rm aUniqueName.go`
60+
- Delete all files in namespace `manager file rm % -ay`
61+
- Edit a file `manager file edit 123`
62+
- Add tags to a file `manager file update --ad-tags t1,t2`
63+
- Publish a file `manager file publish <fileID>`
64+
65+
#### Namespace
66+
- List all your namespaces `manager namespaces`
67+
- Create a namespace `manager namespace create <name>`
68+
- Delete a namespace `manager namespace delete <name>`

0 commit comments

Comments
 (0)