Utilite that can convert import json bundle from/to files of sim, ptl, csv, json.
Is created in the process of packing or unpacking. Shows the structure of an application. Can be opened using graphviz or webgraphviz
Windows tip. If you do not plan to work in the console, add "-ldflags -H=windowsgui"
go build
Binary files can be found in the current directory
env GOARCH=amd64 GOOS=windows CGO_ENABLED=1 CC=/usr/bin/x86_64-w64-mingw32-gcc CXX=/usr/bin/x86_64-w64-mingw32-g++ go build
basic.json - The structure inside the file should look like ./app-tool/basic.json, It is generated automatically in the Export module of the platform ecosystem.
Execute the command
$ ./app-tool basic.json
The basic folder is generated in the current directory
basic/ folder - The folder structure inside the file should look like ./app-tool/basic/.
and the config.json structure in the directory look like ./app-tool/basic/config.json.
Execute the command
$ ./app-tool basic/
The basic.json folder is generated in the current directory
Execute the command, where 40 - number of files.
$ ./app-tool -s -n 40 basic.json
output:
basic1.json
basic2.json
if you invoke the command without line arguments, the help will be displayed.
$ ./app-tool -h
Usage of ./app-tool:
-d debug
-g make graphical structure in dot-file
-i string
input (default ".")
-input string
-i, path for input files, filename for pack and dirname/ (slashed) for unpack (default ".")
-n uint
split json file by number
-o string
-output (default "output")
-output string
-o, output filename for JSON if input file name not pointed (default "output")
-s split json file by type
-u -unpack
-unpack
-u, unpacking mode
-v -version