Open felipemm opened 4 months ago
Oh that's not good @felipemm , what happens if you put --config dev
at the very end of the command instead?
hmmm it worked (after the path argument), but then I came accross another issue:
I checked the config and it is able to log in:
I also tried to add dev config as the default, but same error
Ok I see why, I'm trying to import connections that I exported, but I did not updated it with the credentials.
However, I think there is still a bug here since CSToolError class does not take arguments.
Thanks @felipemm , let me check with my colleague on this and #136 rca as well and then we'll push an update
We've partially resolved this one (the CSToolsError
) with 1.5.6 ... I will have to work more on the --config
ordering though. For now, the workaround is to include --config
only at the end of the line, when there are arguments involved. We typically build around CLI options (things that being with a double dash --
) so this is less of a problem.
The issue lies in this implementation , it just needs to be a smarter algorithm with proper supporting tests.
awesome, thanks @boonhapus!
First Stop
Platform Configuration
Description
I am trying to move TML content between different clusters, in order to achieve that I need to have 2 config files (one for prod and one for dev), and assign the correct config based on the operation I need to do (export from prod using config A, import into dev using config B). However, the --config argument seems to be ignored