question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Allow multi command chaining

See original GitHub issue

I was wondering if there are any plans to support multi command chaining (probably as a separate command executer). In this mode you could run multiple commands in one single invocation (e.g. ./mybuildtool build publish which would execute first the build sub command and after that the publish sub command).

The very popular Python CLI tool click implements this: https://click.palletsprojects.com/en/7.x/commands/#multi-command-chaining

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

2reactions
ajaltcommented, Mar 9, 2020

Thank you for the feedback! I expect that I’ll publish a new release within the next week.

0reactions
fkrauthancommented, Mar 9, 2020

I just did some testing with this branch @ajalt and it works exactly as I need it (I just use basic options and some context variables. Can’t wait for this to be official published so I can keep working on my POC of converting one of our Python CLI tools to Kotlin Native.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Commands and Groups — Click Documentation (7.x)
A very common usecase of multi command chaining is to have one command process the result of the previous command. There are various...
Read more >
How can I split my Click commands, each with a set of sub ...
Is it possible to organize commands and their subcommands into separate classes? Here's an example of how I would like to separate it:...
Read more >
Chaining Commands in Linux - GeeksforGeeks
Chaining commands in Linux allows us to execute multiple commands at the same time and directly through the terminal.
Read more >
How to chain multiple PowerShell commands on one line
In this blog post, we will look at how you can chain and run multiple PowerShell commands on one line using pipelines and...
Read more >
[MG06] Execute multiple commands with Sublime's new chain ...
Commands in Sublime Text are integral to everything we do; keys pressed, menu items selected, command palette entries picked: all of these ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found