fsysobj¶
SYNOPSIS:¶
fsysobj [OPTIONS] [COMMAND] [CMDOPTIONS] <path-filelist> python fsysobj.py [OPTIONS] [COMMAND] [CMDOPTIONS] <path-filelist>
Commands
OPTIONS:¶
- -a –appname
Name of application. Used for deafults, e.g. configuration file names.
--appname=<appname>
default: jsondc
- -c –configfile
A single configuration file, see inline comments for details:
--configfile=<configfile>
default: jsondc.ini
The search path for the configuration file is:
- Environment variable as search path JSONDATA_PATH.
- User app data, see filesysobjects.osdata.getdir_userappdata() [filesysobjects].
- User config data, see filesysobjects.osdata.getdir_userconfigdata() [filesysobjects].
- OS config data, see filesysobjects.osdata.getdir_osconfigdata() [filesysobjects].
- Install directory of the package, see pysourceinfo.fileinfo.getcaller_pathname() [sourceinfo].
- -d –debug
- Debug entries, does NOT work with ‘python -O ...’. Developer output, aimed for filtering. When provided mulltiple times the level is raised.
- -h –help
- This help.
- -n –no-default-path
Supress load of default path.
default: False
- -p –pathlist
Search path for JSON data file(s), standard list for current platform.
--pathlist=<search-path-JSON-data>
default:= ../dirname(__file__)/:dirname(__file__)/:/etc/:$HOME/
- –print-data
Pretty print data.
--print-data[=<format>] format := ( 'json-line' # all in one line with JSON syntax | 'json-struct' # tree-structure with JSON syntax | 'python-line' # all in one line with Python syntax | 'python-struct' # tree-structure with Python syntax | 'repr' # repr() - raw string, Python syntax | 'str' # str() - formatted string, Python syntax )
- –selftest
Performs a basic functional selftest by load, verify, and validate.
- jsondata/data.json + jsondata/schema.jsd
- jsondata/selftest.json + jsondata/selftest.jsd
- –Version
- Current version - detailed.
- -v –verbose
- Verbose, some relevant states for basic analysis. When –selftest is set, repetition raises the display level.
- –version
- Current version - terse.
DESCRIPTION:¶
The fsysobj executable provides the commandline interface to the filesys objects library.
EXAMPLES:¶
SEEALSO:¶
COPYRIGHT:¶
Arno-Can Uestuensoez @Ingenieurbuero Arno-Can Uestuensoez Copyright (C)2016-2018 Arno-Can Uestuensoez