A Friendly Programmer

Results 26 comments of A Friendly Programmer

@dexhunter is this still open? seeing it was been around since 2020

I have a pull request on the first one, [which introduces a ps command](https://github.com/hyperledger/firefly-cli/pull/262). The second would definitely throw an error and it possible to run more than one stack...

@nguyer is this issue still open? or how is progress on it @PanGan21 ?

This commit requires the merging of #221 first, has it modifies some it functions to allow sharing (avoiding code duplication).

I should also mention, a behaviour was included in the `info` and `ps` command to run for all available stack if no stack name was specified. If this is not...

![Screenshot from 2023-10-08 09-38-24](https://github.com/hyperledger/firefly-cli/assets/73890077/5e8fd6f8-6b9e-4ac6-b1b6-15b1f2ebf74d)

The sync.Mutex that was dragged into the apiV2 is the problem... function that takes it type and return it... are being flagged by *go vet* as copy of locked values.

The solution was to introduce pointers (on such functions signatures, 2 of 'em actually, if I remember correctly), the effect cascaded and some other function signatures had to take pointers...

@denyeart mentioned once a solution... I didn't quite figure it... Buh I'll try take another look at it again this week, hopefully it clicks.

@davidkhala this would require a large community vote... maybe maintainers like @denyeart @bestbeforetoday @ryjones can shed light to that better.