process¶
Process provided files for placement in the process-stage.
usage: enc process [-h] [-v | -q] [--dry-run] [--eof EOF_CHARSEQUENCE | --name-only] files [files ...]
Positional Arguments¶
- files
File/Files to process. This is a required argument and single or multiple files can be provided as value for this argument.Only readable files will be accepted. Since ‘-’ as a filename opens <stdin> and because we want to store the files for later use hence ‘-’ as a filename is not accepted. Likewise, Directories are also not accepted.
Named Arguments¶
- -v, --verbose
- Specify verbosity level as -v, -vv or -vvv.
By default the VCS (Git) or OS call command logs are always displayed. For more fine grain tuning on the verbosity of logs use: -v to show INFO logs additionally. -vv to show INFO and DEBUG logs additionally. -vvv to show INFO, DEBUG and TRACE logs, this level also enables exception tracebacks.
- -q, --quiet
- Quiet logs as -q, -qq or -qqq.
By default the VCS (Git) or OS call command logs are always displayed. For more fine grain tuning on quietness of logs use: -q to Disable VCS (git) or OS call command logs and WARNINGS; ERROR and FATAL will still show. -qq to Additionally disable ERRORS; FATAL logs will still show. -qqq to Disable full logging.
- --dry-run
process file at FILE_PATH and output on stdout. This option does not change the file in process-stage stage.
Default:
False
- --eof
Declare an EOF charsequence to put on stdout when file is processed. This way any process taking input from this command can distinguish between into files if multiple files are processed on stdout. Default=’<<<<<<<<<<<<END-OF-FILE>>>>>>>>>>>>’. Can only be used with –dry-run
- --name-only
Only process the file name. Not the full file. Can only be used with –dry-run
Default:
False
Must be run from from the working-tree repo root.