Command Line Operation¶
Running Arelle on the Command Line:¶
Method or System |
Command |
---|---|
Python source code |
|
Windows x64 or 32 bit |
|
MacOS App |
|
Linux/Unix |
|
Arguments¶
General Arguments¶
Flag |
Description |
---|---|
|
Prints build, copyright, and license information then exits |
|
Prints help message and exits |
|
Prints diagnostic information |
|
Prints Arelle’s version number and exits |
Input File Arguments¶
Flag |
Description |
---|---|
|
The |
|
The |
|
The |
|
Imports a |
|
Compares a second DTS for versioning report generation. |
|
Saves the versioning report (with the diff flag) to the specified |
Validation Arguments¶
Flag |
Description |
---|---|
|
Validate the file according to the entry file type. |
|
Validate testcases against their schemas. |
|
Specify calculations validations: |
|
DEPRECATED - XBRL v2.1 calculation linkbase validation inferring decimals. |
|
DEPRECATED - pre-2010 XBRL v2.1 calculation linkbase validation inferring precision. |
|
DEPRECATED - de-duplication of consistent facts when performing calculation validation, chooses most accurate fact. |
|
Select Edgar Filer Manual (U.S. SEC) disclosure system validation (strict). |
|
Skip walking of calculation tree during EFM validation. |
|
Specify a disclosure system, and enable disclosure system-specific validation. |
|
Select U.K. HMRC disclosure system validation. |
|
Select validation with respect to Unit Type Registry. |
|
Used with |
|
Select validation with respect testcase infosets. |
Output Arguments¶
These arguments can override the system language settings for the output options below.
Flag |
Description |
---|---|
|
provides an |
|
Disable reversing string read order for right to left languages, useful for some locale settings |
|
overrides the standard XBRL 2.1 label role for the labels output by the following file options. |
The following file options determine the type of file saved by the extension of the file name, the extension may be any of:
.html
, .htm
, .xhtml
, .json
or .csv
Flag |
Description |
---|---|
|
Write DTS tree into |
|
Write fact list into |
|
Columns for fact list file. |
|
Write fact table into |
|
Columns for fact list file |
|
Write fact table into FILE |
|
Columns for fact table file |
|
Write concepts into |
|
Write presentation linkbase into |
|
Write table linkbase into |
|
Write calculation linkbase into |
|
Write dimensions (of definitions) into |
|
Write anchoring relationships (of definition) linkbase into |
|
Write formulae linkbase into |
|
Store relationships for the |
|
Specifies the file to store the --viewArcrole relationships. |
|
Store defined role types in specified |
|
Store defined arcrole types in specified |
|
Write a test report of validation (of test cases) in specified |
|
Used with |
|
Write a test report of RSS feed processing in specified |
|
Used with |
Logging Arguments¶
Flag |
Description |
---|---|
|
Write log messages into |
|
Specify the Python logger |
|
Minimum |
|
Regular expression filter for logLevel. (E.g., to not match \*-semantic levels, |
|
Collect profile statistics, such as timing of validation activities and formulae. |
Validation and Formula Options¶
Flag |
Description |
---|---|
|
Specifies parameters for formula and validation (name=value[,name=value]). |
|
Used with --parameters argument. Specify parameters separator string (if other than comma, may be a multi-character separator). |
|
Specify formula action, If this option is not specified, |
|
Enable ParamExprResult formula tracing. |
|
Enable ParamInputValue formula tracing. |
|
Truncate interpolated expressions in formula messages to this length. |
|
Enable CallExprSource formula tracing. |
|
Enable CallExprCode formula tracing. |
|
Enable CallExprEval formula tracing. |
|
Enable CallExprResult formula tracing. |
|
Enable VarSetExprEval formula tracing. |
|
Enable VarSetExprResult formula tracing. |
|
Show times of variable set evaluation |
|
Enable AsserResultCounts formula tracing. |
|
Enable FormulaRules formula tracing. |
|
Enable VarsOrder formula tracing. |
|
Enable VarExpressionSource formula tracing. |
|
Enable VarExpressionCode formula tracing. |
|
Enable VarExpressionEvaluation formula tracing. |
|
Enable VarExpressionResult formula tracing. |
|
Enable VarFiltersResult formula tracing. |
|
Show winnowing process of successive application of formulas, helpful in debugging to find out which filter affects the facts that pass a filtering step |
|
Show result of filters. |
Configuration options¶
It is possible to specify options to be defaults for the web server, such as disclosureSystem and validations, but not including file names.
Flag |
Description |
---|---|
|
Language for user interface (override system settings, such as program messages). |
|
Modify and re-save proxy settings configuration. Enter system to use system proxy setting, none to use no proxy, a specific proxy in the format http://[user[:password]@]host[:port] |
|
Specify internet connectivity: |
|
Specify internet connection timeout in seconds (0 means unlimited). |
|
Specify frequency of rechecking web file’s time stamps to cached file copy and determine if newer file to be reloaded: |
|
Skip https SSL certificate checking. |
|
Log an info message for downloads to the web cache. |
|
Specify non-standard location for configuration and cache files (overrides environment parameter |
|
Specify plugins to load (no longer saved or shared with GUI) |
|
Load XBRL taxonomy packages. Option can be repeated to specify multiple packages. Specifying a directory will attempt to load all |
|
Abort process on major error, such as when load is unable to find an entry or discovered file. |
|
Start web server on host:port[:server] for REST and web access. |
Standard Plugins and Options¶
Many of the plug-ins add command line (in addition to GUI menu) options. For additional detail see the plug-in documentation. A summary of standard plugin options is provided here.
inlineDocumentSet |
Specify an inline XBRL document set by JSON parameter: --file ‘[{“ixDocumentSet”:[{“file”:file1},{“file”:file2}…]}]’ |
---|---|
|
Provides a file name into which to save an XBRL instance document derived from a loaded manifest (Japan FSA) of a document set of inline documents, or loaded single inline document. |
loadFromExcel |
Load from Excel file |
---|---|
No command line options, but the |
profileCmdLine |
Profiles command line operation |
---|---|
|
Specifies file into which to save a Python profiler report of the timings of Arelle Python methods and routines for the operations performed by the other command line functions. |
saveDTS |
Produces a Taxonomy Package. |
---|---|
|
Specifies a file into which to save a Taxonomy Package representing the loaded DTS. |
saveHtmlEBAtables |
EBA Table Sets. |
---|---|
|
Specifies an index file (usually index.html) to represent an html page that holds a table of contents to the EBA tables generated for all loaded EBA Table Linkbase tables in the DTS. |
saveLoadableExcel |
Saves an Excel workbook |
---|---|
|
Saves an Excel workbook representing the DTS (which can be subsequently loaded by loadFromExcel.py plugin. |
saveSKOS |
Saves a SKOS (OMG standard OWL file). |
---|---|
|
Saves a SKOS (OMG standard OWL file) representing a semantic view of a DTS based on presentation linkbase entries (for US-GAAP, IFRS, and EDInet style taxonomies). |
xbrlDB |
Saves XBRL data to a database. |
---|---|
|
Store into XBRL DB. Provides connection string: host,[port], user, password, database, [timeout], technology. |
technology can be: |
|
For |
Example storing into postgres database using XBRL-US schema:
arelleCmdLine -f c:\temp\test.rss -v --disclosureSystem efm-pragmatic-all-years --store-to-XBRL-DB "myhost.com,8084,pgUserId,pgPassword,test_db,90,postgres"
Example storing into local MSSQL database using SQLEXPRESS instance:
arelleCmdLine -f c:\temp\test.rss -v --disclosureSystem efm-pragmatic-all-years --store-to-XBRL-DB "localhost\SQLEXPRESS,,sqlLogin,sqlPassword,,90,mssqlSemantic"
Disclosure System Selections¶
Run with --disclosureSystem=help
to list the disclosure systems that are available for the currently loaded plugins.