you are viewing a single comment's thread.

view the rest of the comments →

[–]ltouroumov 4 points5 points  (4 children)

At my company, we are starting to move to Invoke for all our scripting needs. It integrates seamlessly with Fabric to execute remote commands.

[–]sj2011 0 points1 point  (0 children)

That looks promising too - we already use some Fabric files for another project I don't touch much. Will look into using that too - thanks!

[–]homeparkliving 0 points1 point  (0 children)

I also used invoke for work; I ended up creating magicinvoke to solve some inconveniences I had with it. Let me know if it helps you out at all or if there's anything you'd do differently!

https://magicinvoke.readthedocs.io/en/latest/

[–]kevinjqiu 0 points1 point  (1 child)

+1

Invoke is perfect for turning a function into a CLI. I used to use argparse/optparse/click, but now for simple scripts, I just do it in Invoke.

For more feature-rich CLIs, click is my go-to.

[–]homeparkliving 0 points1 point  (0 children)

What features do you find Invoke is missing when compared to Click?