Washington Kigani Kamadi
|
0f0d761a1b
|
MF-1340 - Add CLI config TOML file (#1858)
* Add config
Signed-off-by: WashingtonKK <washingtonkigan@gmail.com>
* Change key names
Signed-off-by: WashingtonKK <washingtonkigan@gmail.com>
* Add config file path
Signed-off-by: WashingtonKK <washingtonkigan@gmail.com>
* Add config file path
Signed-off-by: WashingtonKK <washingtonkigan@gmail.com>
* Configure TOML parsing
Signed-off-by: WashingtonKK <washingtonkigan@gmail.com>
* Add cli config command
Signed-off-by: WashingtonKK <washingtonkigan@gmail.com>
* Remove debug log
Signed-off-by: WashingtonKK <washingtonkigan@gmail.com>
* Use snake case
Signed-off-by: WashingtonKK <washingtonkigan@gmail.com>
* Change from interactive command
Signed-off-by: WashingtonKK <washingtonkigan@gmail.com>
* use map for keys
Signed-off-by: WashingtonKK <washingtonkigan@gmail.com>
* Add cli logger level
Signed-off-by: WashingtonKK <washingtonkigan@gmail.com>
* Use mainflux logger
Signed-off-by: WashingtonKK <washingtonkigan@gmail.com>
* Fix cli
Signed-off-by: WashingtonKK <washingtonkigan@gmail.com>
* Remove unnecessary comments
Signed-off-by: WashingtonKK <washingtonkigan@gmail.com>
* Fix cli error handling
Signed-off-by: WashingtonKK <washingtonkigan@gmail.com>
* Remove fmt
Signed-off-by: WashingtonKK <washingtonkigan@gmail.com>
* Update config
Signed-off-by: WashingtonKK <washingtonkigan@gmail.com>
* Fix cli
Signed-off-by: WashingtonKK <washingtonkigan@gmail.com>
* Fix cli
Signed-off-by: WashingtonKK <washingtonkigan@gmail.com>
* Fix cli
Signed-off-by: WashingtonKK <washingtonkigan@gmail.com>
* Fix cli
Signed-off-by: WashingtonKK <washingtonkigan@gmail.com>
* Modify CLI
Signed-off-by: WashingtonKK <washingtonkigan@gmail.com>
* Fix errors
Signed-off-by: WashingtonKK <washingtonkigan@gmail.com>
* Fix cli
Signed-off-by: WashingtonKK <washingtonkigan@gmail.com>
* Fix errors
Signed-off-by: WashingtonKK <washingtonkigan@gmail.com>
* Remove user token
Signed-off-by: WashingtonKK <washingtonkigan@gmail.com>
* Remove unused variables
Signed-off-by: WashingtonKK <washingtonkigan@gmail.com>
* Add empty line
Signed-off-by: WashingtonKK <washingtonkigan@gmail.com>
* Add url parsing
Signed-off-by: WashingtonKK <washingtonkigan@gmail.com>
* TEsts
Signed-off-by: WashingtonKK <washingtonkigan@gmail.com>
* Make config path configurable
Signed-off-by: WashingtonKK <washingtonkigan@gmail.com>
* Fix ci
Signed-off-by: WashingtonKK <washingtonkigan@gmail.com>
* Remove empty toml
Signed-off-by: WashingtonKK <washingtonkigan@gmail.com>
* Change url key identification
Signed-off-by: WashingtonKK <washingtonkigan@gmail.com>
* Remove url parsing functions
Signed-off-by: WashingtonKK <washingtonkigan@gmail.com>
* Handle parse error
Signed-off-by: WashingtonKK <washingtonkigan@gmail.com>
* Handle url error
Signed-off-by: WashingtonKK <washingtonkigan@gmail.com>
* Add marshal
Signed-off-by: WashingtonKK <washingtonkigan@gmail.com>
* Update config
Signed-off-by: WashingtonKK <washingtonkigan@gmail.com>
* Fix cli
Signed-off-by: WashingtonKK <washingtonkigan@gmail.com>
* Handle file error
Signed-off-by: WashingtonKK <washingtonkigan@gmail.com>
* Handle file error
Signed-off-by: WashingtonKK <washingtonkigan@gmail.com>
* Modify url parsing
Signed-off-by: WashingtonKK <washingtonkigan@gmail.com>
* Add usertoken
Signed-off-by: WashingtonKK <washingtonkigan@gmail.com>
* Fix user token
Signed-off-by: WashingtonKK <washingtonkigan@gmail.com>
* Fix errors
Signed-off-by: WashingtonKK <washingtonkigan@gmail.com>
* Fix errors
Signed-off-by: WashingtonKK <washingtonkigan@gmail.com>
* Remove string init
Signed-off-by: WashingtonKK <washingtonkigan@gmail.com>
* Fix error
Signed-off-by: WashingtonKK <washingtonkigan@gmail.com>
* Fix errors
Signed-off-by: WashingtonKK <washingtonkigan@gmail.com>
* Remove config.toml from root
Signed-off-by: WashingtonKK <washingtonkigan@gmail.com>
* Add empty line to config.toml
Signed-off-by: WashingtonKK <washingtonkigan@gmail.com>
* Add empty line to config.toml
Signed-off-by: WashingtonKK <washingtonkigan@gmail.com>
* Inline error handling
Signed-off-by: WashingtonKK <washingtonkigan@gmail.com>
* Remove unnecessary type conversion
Signed-off-by: WashingtonKK <washingtonkigan@gmail.com>
* Fix error handling
Signed-off-by: WashingtonKK <washingtonkigan@gmail.com>
* Fix error handling
Signed-off-by: WashingtonKK <washingtonkigan@gmail.com>
* Remove dynamic filters
Signed-off-by: WashingtonKK <washingtonkigan@gmail.com>
---------
Signed-off-by: WashingtonKK <washingtonkigan@gmail.com>
|
2023-08-08 12:01:59 +02:00 |