Mercurial > libervia-backend
comparison frontends/src/jp/constants.py @ 2505:8e770ac05b0c
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
author | Goffi <goffi@goffi.org> |
---|---|
date | Wed, 28 Feb 2018 18:28:39 +0100 |
parents | 512c443a58ba |
children | 772447ec070f |
comparison
equal
deleted
inserted
replaced
2504:67cc54b01a12 | 2505:8e770ac05b0c |
---|---|
44 A_SUCCESS = A.BOLD + A.FG_GREEN | 44 A_SUCCESS = A.BOLD + A.FG_GREEN |
45 A_FAILURE = A.BOLD + A.FG_RED | 45 A_FAILURE = A.BOLD + A.FG_RED |
46 # A_PROMPT_* is for shell | 46 # A_PROMPT_* is for shell |
47 A_PROMPT_PATH = A.BOLD + A.FG_CYAN | 47 A_PROMPT_PATH = A.BOLD + A.FG_CYAN |
48 A_PROMPT_SUF = A.BOLD | 48 A_PROMPT_SUF = A.BOLD |
49 # Files | |
50 A_DIRECTORY = A.BOLD + A.FG_CYAN | |
51 A_FILE = A.FG_WHITE | |
49 | 52 |
50 # exit codes | 53 # exit codes |
51 EXIT_OK = 0 | 54 EXIT_OK = 0 |
52 EXIT_ERROR = 1 # generic error, when nothing else match | 55 EXIT_ERROR = 1 # generic error, when nothing else match |
53 EXIT_BAD_ARG = 2 # arguments given by user are bad | 56 EXIT_BAD_ARG = 2 # arguments given by user are bad |