Module localecmd-builtins¶
General functions in a command-line program.
- Bool()¶
A topic to get help on from the command line but is not callable.
In the CLI, the docstring is printed when with the command
help <topicname>where<topicname>is the name of the topic.
- Float()¶
A topic to get help on from the command line but is not callable.
In the CLI, the docstring is printed when with the command
help <topicname>where<topicname>is the name of the topic.
- Int()¶
A topic to get help on from the command line but is not callable.
In the CLI, the docstring is printed when with the command
help <topicname>where<topicname>is the name of the topic.
- Str()¶
A topic to get help on from the command line but is not callable.
In the CLI, the docstring is printed when with the command
help <topicname>where<topicname>is the name of the topic.
- Types()¶
A topic to get help on from the command line but is not callable.
In the CLI, the docstring is printed when with the command
help <topicname>where<topicname>is the name of the topic.
- change_language language
Change language of program
- Parameters:
language (str) – Folder name containing the translation strings. Must be subfolder of folder specified by CLI.localedir. Defaults to ‘’ meaning the fallback language English.
- complete words...
Predict command completion of the given words
- help topic...
Get help
- Parameters:
topic (str) – Function/Topic to get help on. If empty, a list of all functions and topics is shown.
- list_distributors()¶
Print list of distributor functions
- list_languages include_fallback
Print list of available program languages
- quit()¶
Terminate program
- Raises:
SystemExit – Always