.. _FSYSOBJ_MAIN: fsysobj ------- .. _SYNOPSIS_JSONDC: SYNOPSIS: ^^^^^^^^^ .. parsed-literal:: :ref:`fsysobj ` :ref:`[OPTIONS] ` [COMMAND] [CMDOPTIONS] python :ref:`fsysobj.py ` :ref:`[OPTIONS] ` [COMMAND] [CMDOPTIONS] **Commands** +--------------------------------------+-----------------------------------------------------+-----------------------------------------------------------------+-------------------------------------------------------------+------------------------------------------------------------------+ | [COMMAND] | Context Options | Arguments | Description | HowTo | +======================================+=====================================================+=================================================================+=============================================================+==================================================================+ | :ref:`find ` | :ref:`find-options ` | :ref:`\ ` | :ref:`find-description ` | `Howto fsysobject find `_ | +--------------------------------------+-----------------------------------------------------+-----------------------------------------------------------------+-------------------------------------------------------------+------------------------------------------------------------------+ | :ref:`findpath ` | :ref:`findpath-options ` | :ref:`\ ` | :ref:`findpath-description ` | `Howto fsysobject findpath `_ | +--------------------------------------+-----------------------------------------------------+-----------------------------------------------------------------+-------------------------------------------------------------+------------------------------------------------------------------+ | :ref:`lspath ` | :ref:`lspath-options ` | :ref:`\ ` | :ref:`lspath-description ` | `Howto fsysobject lspath `_ | +--------------------------------------+-----------------------------------------------------+-----------------------------------------------------------------+-------------------------------------------------------------+------------------------------------------------------------------+ | :ref:`normalize ` | :ref:`normalize-options ` | :ref:`\ ` | :ref:`normalize-description ` | `Howto fsysobject normalize `_ | +--------------------------------------+-----------------------------------------------------+-----------------------------------------------------------------+-------------------------------------------------------------+------------------------------------------------------------------+ | :ref:`expand ` | :ref:`expand-options ` | :ref:`\ ` | :ref:`expand-description ` | `Howto fsysobject expand `_ | +--------------------------------------+-----------------------------------------------------+-----------------------------------------------------------------+-------------------------------------------------------------+------------------------------------------------------------------+ | :ref:`mkpath ` | :ref:`mkpath-options ` | :ref:`\ ` | :ref:`mkpath-description ` | `Howto fsysobject mkpath `_ | +--------------------------------------+-----------------------------------------------------+-----------------------------------------------------------------+-------------------------------------------------------------+------------------------------------------------------------------+ | :ref:`convert ` | :ref:`convert-options ` | :ref:`\ ` | :ref:`convert-description ` | `Howto fsysobject convert `_ | +--------------------------------------+-----------------------------------------------------+-----------------------------------------------------------------+-------------------------------------------------------------+------------------------------------------------------------------+ | :ref:`config ` | :ref:`config-options ` | :ref:`\ ` | :ref:`convert-description ` | `Howto fsysobject config `_ | +--------------------------------------+-----------------------------------------------------+-----------------------------------------------------------------+-------------------------------------------------------------+------------------------------------------------------------------+ | :ref:`os ` | :ref:`os-options ` | :ref:`\ ` | :ref:`convert-description ` | `Howto fsysobject os `_ | +--------------------------------------+-----------------------------------------------------+-----------------------------------------------------------------+-------------------------------------------------------------+------------------------------------------------------------------+ | :ref:`user ` | :ref:`user-options ` | :ref:`\ ` | :ref:`convert-description ` | `Howto fsysobject user `_ | +--------------------------------------+-----------------------------------------------------+-----------------------------------------------------------------+-------------------------------------------------------------+------------------------------------------------------------------+ .. _OPTIONS_FSYSOBJ: OPTIONS: ^^^^^^^^ .. index:: single: options; --appname .. _appname: -a --appname Name of application. Used for deafults, e.g. configuration file names. :: --appname= default: jsondc .. index:: single: options; --configfile .. _configfile: -c --configfile A single configuration file, see inline comments for details:: --configfile= default: jsondc.ini The search path for the configuration file is: :: 0. Environment variable as search path *JSONDATA_PATH*. 1. User app data, see *filesysobjects.osdata.getdir_userappdata()* [filesysobjects]_. 2. User config data, see *filesysobjects.osdata.getdir_userconfigdata()* [filesysobjects]_. 3. OS config data, see *filesysobjects.osdata.getdir_osconfigdata()* [filesysobjects]_. 4. Install directory of the package, see *pysourceinfo.fileinfo.getcaller_pathname()* [sourceinfo]_. .. index:: single: options; --debug .. _debug: -d --debug Debug entries, does NOT work with 'python -O ...'. Developer output, aimed for filtering. When provided mulltiple times the level is raised. .. index:: single: options; --help .. _help: -h --help This help. .. index:: single: options; --no-default-path .. _nodefaultpath: -n --no-default-path Supress load of default path. default: False .. index:: single: options; --pathlist .. _pathlist: -p --pathlist Search path for JSON data file(s), standard list for current platform. :: --pathlist= default:= ../dirname(__file__)/:dirname(__file__)/:/etc/:$HOME/ .. index:: single: options; --print-data .. _printdata: -\-print-data Pretty print data. :: --print-data[=] 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 ) .. index:: single: options; --selftest .. _selftest: -\-selftest Performs a basic functional selftest by load, verify, and validate. 0. jsondata/data.json + jsondata/schema.jsd 1. jsondata/selftest.json + jsondata/selftest.jsd .. index:: single: options; --Version .. _versiondetails: -\-Version Current version - detailed. .. index:: single: options; --verbose .. _verbose: -v --verbose Verbose, some relevant states for basic analysis. When *--selftest* is set, repetition raises the display level. .. index:: single: options; --version .. _version: -\-version Current version - terse. .. _DESCRIPTION_JSONDC: DESCRIPTION: ^^^^^^^^^^^^ The *fsysobj* executable provides the commandline interface to the filesys objects library. EXAMPLES: ^^^^^^^^^ SEEALSO: ^^^^^^^^ `How to CLI jsondc `_ COPYRIGHT: ^^^^^^^^^^ Arno-Can Uestuensoez @Ingenieurbuero Arno-Can Uestuensoez Copyright (C)2016-2018 Arno-Can Uestuensoez