github.com/TrueBlocks/trueblocks-core/src/apps/chifra@v0.0.0-20241022031540-b362680128f7/internal/config/README.md (about) 1 ## chifra config 2 3 The `chifra config` program allows you to manage the various TrueBlocks caches. You may list all of the 4 caches, some of the cache, or even individual caches either in terse or full detail. The cache of 5 interest is specified with the `modes` option. 6 7 TrueBlocks maintains caches for the index of address appearances, named addresses, abi files, as 8 well as other data including blockchain data, and address monitors. 9 10 ```[plaintext] 11 Purpose: 12 Report on and edit the configuration of the TrueBlocks system. 13 14 Usage: 15 chifra config <mode> [flags] 16 17 Arguments: 18 mode - either show or edit the configuration 19 One of [ show | edit ] 20 21 Flags: 22 -a, --paths show the configuration paths for the system 23 -x, --fmt string export format, one of [none|json*|txt|csv] 24 -v, --verbose enable verbose output 25 -h, --help display this help screen 26 ``` 27 28 Data models produced by this tool: 29 30 - [chain](/data-model/admin/#chain) 31 32 ### Other Options 33 34 All tools accept the following additional flags, although in some cases, they have no meaning. 35 36 ```[plaintext] 37 -v, --version display the current version of the tool 38 --output string write the results to file 'fn' and return the filename 39 --append for --output command only append to instead of replace contents of file 40 --file string specify multiple sets of command line options in a file 41 ``` 42 43 **Note:** For the `--file string` option, you may place a series of valid command lines in a file using any 44 valid flags. In some cases, this may significantly improve performance. A semi-colon at the start 45 of any line makes it a comment. 46 47 **Note:** If you use `--output --append` option and at the same time the `--file` option, you may not switch 48 export formats in the command file. For example, a command file with two different commands, one with `--fmt csv` 49 and the other with `--fmt json` will produce both invalid CSV and invalid JSON. 50 51 *Copyright (c) 2024, TrueBlocks, LLC. All rights reserved. Generated with goMaker.*