diff 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
line wrap: on
line diff
--- a/frontends/src/jp/constants.py	Wed Feb 28 18:28:39 2018 +0100
+++ b/frontends/src/jp/constants.py	Wed Feb 28 18:28:39 2018 +0100
@@ -46,6 +46,9 @@
     # 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