Команды для работы с файлами#
Содержит комадны для работы с файлами через потоки
Commands:#
usage: file.py [-h] cmd ...
positional arguments:
cmd Команды
full_help Распечатать справку
create создать файл из потока ввода вывода
create_from_base64 создать файл из потока ввода вывода в кодеровки base64
print распечатать файл в формате base64
options:
-h, --help show this help message and exit
Full_help#
usage: file.py full_help [-h]
options:
-h, --help show this help message and exit
Create#
usage: file.py create [-h] -f F [-l L] [--sha256-sum SHA256_SUM]
Создает файл из потока ввода выода
options:
-h, --help show this help message and exit
-f F файл
-l L длина файла в байтах
--sha256-sum SHA256_SUM
хэш-сумма
Create_from_base64#
usage: file.py create_from_base64 [-h] -f F
Создает файл из потока ввода выода в кодеровки base64
options:
-h, --help show this help message and exit
-f F файл
Print#
usage: file.py print [-h] -f F
печатает файл в формате base64
options:
-h, --help show this help message and exit
-f F файл