liugddx commented on PR #769:
URL: https://github.com/apache/fesod/pull/769#issuecomment-3703709560

   > > > how to pass the parameters or set configuration for json setting?
   > > 
   > > 
   > > ## Command Line Parameters
   > > ```
   > > 
   > > # Specify JSON format
   > > fesod-cli read data. xlsx --format json
   > > 
   > > # Save to file
   > > fesod-cli read data.xlsx --format json --output result.json
   > > 
   > > # Read specific sheet
   > > fesod-cli read data.xlsx --format json --sheet "Sheet1"
   > > ```
   > > 
   > > 
   > >     
   > >       
   > >     
   > > 
   > >       
   > >     
   > > 
   > >     
   > >   
   > > ## Configuration File
   > > Create ~/.fesod/config.yaml:
   > > ```
   > > defaults: 
   > >   outputFormat: json
   > >   encoding: UTF-8
   > > ```
   > > 
   > > 
   > >     
   > >       
   > >     
   > > 
   > >       
   > >     
   > > 
   > >     
   > >   
   > > Or use --config to specify a custom config file:
   > > ```
   > > fesod-cli read data. xlsx --config /path/to/config. yaml
   > > ```
   > 
   > Just check the CliConfig file, seems limited to be actual usage on the 
parameters. Do we have the possible to provide customized features as 
https://github.com/FasterXML/jackson-databind/wiki/JacksonFeatures ? JSON is 
easy to meet compatible issue, that's why I asking the original question.
   > 
   > e.g. It's easy to set jackson values in spring boot properties or yaml.
   
   Thanks for the suggestion! For this PR, I'd like to keep the scope focused 
on the core CLI functionality (read/write/convert). Once merged, I'll create a 
follow-up issue to track JSON configuration options (similar to Jackson 
Features).


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to