summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThien-Thi Nguyen <ttn@gnu.org>2022-02-22 07:35:51 -0500
committerThien-Thi Nguyen <ttn@gnu.org>2022-02-22 07:35:51 -0500
commit21cf844f395038299b432628425d6777f036828f (patch)
treebff849878b67965dcbe9bf7b4ae27100ed88b7a5
parent28caba59173ede4bdb7047ccdde1bbea7041462e (diff)
downloadtaler-util-21cf844f395038299b432628425d6777f036828f.tar.gz
taler-util-21cf844f395038299b432628425d6777f036828f.tar.bz2
taler-util-21cf844f395038299b432628425d6777f036828f.zip
Remove documentation on talerconfig.py as a program
* doc/doc.org (class =TalerConfig=, usage as a program): Delete section.
-rw-r--r--doc/doc.org40
1 files changed, 0 insertions, 40 deletions
diff --git a/doc/doc.org b/doc/doc.org
index 980dd4d..3cf5bea 100644
--- a/doc/doc.org
+++ b/doc/doc.org
@@ -444,43 +444,3 @@ in the format:
: [section]
: option = value # filename & line number pair
-
-*** usage as a program
-
-FIXME: Is this supposed to be documented?
-Seems out of place in a library.
-Maybe it's there only for testing purposes?
-Another idea is to move it to its own utility program.
-
--> Better no, for those reasons:
-1. Taler has already a CLI config utility (that comes with the exchange): taler-config.
-2. A try to run talerconfig.py gave this (!):
-
- /tmp/talerconfig.py: line 23: import: command not found
- /tmp/talerconfig.py: line 24: import: command not found
- /tmp/talerconfig.py: line 25: import: command not found
- /tmp/talerconfig.py: line 26: import: command not found
- /tmp/talerconfig.py: line 27: import: command not found
- /tmp/talerconfig.py: line 28: import: command not found
- from: too many arguments
- /tmp/talerconfig.py: line 31: syntax error near unexpected token `('
- /tmp/talerconfig.py: line 31: `LOGGER = logging.getLogger(__name__)'
-
-If =talerconfig.py= is invoked from the command-line, it functions
-as a program that displays either a specific value or dumps the entire set,
-depending on the command-line args given.
-
-Options are:
-
-- =-c, --config FILE= :: Read Taler configuration from =FILE=.
- See =from_file= (above) for behavior if unspecified.
-
-- =-s, --section SECTION= :: Look for option in section =SECTION=.
-
-- =-o, --option OPTION= :: Display value associated with option =OPTION=.
-
-- =-f, --filename= :: If the value is a string, do shell-style
- variable expansion (see above) on it.
-
-If both =SECTION= and =OPTION= are omitted, display the entire set
-of values using the =dump= method (see above).