jp (file): file sharing + improvments:
- file sending now handle --path and --namespace (used to specify how to share a file) - implemented file request, a file must be identified by it's name or hash, using --path when possible - added share subcommands - share/list allows to list file shared by an entity at a specific path - share/path allows one to share a local path privatly (only accessible by its bare jid), publicly or to a whitelist of jids
This commit is contained in:
parent
7ea8c79dbd
commit
ac1740d235
1 changed files with 234 additions and 14 deletions
|
|
@ -46,6 +46,9 @@ class Const(constants.Const):
|
|||
# A_PROMPT_* is for shell
|
||||
A_PROMPT_PATH = A.BOLD + A.FG_CYAN
|
||||
A_PROMPT_SUF = A.BOLD
|
||||
# Files
|
||||
A_DIRECTORY = A.BOLD + A.FG_CYAN
|
||||
A_FILE = A.FG_WHITE
|
||||
|
||||
# exit codes
|
||||
EXIT_OK = 0
|
||||
|
|
|
|||
Loading…
Reference in a new issue