Allow multi command chaining
See original GitHub issueI 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:
- Created 4 years ago
- Comments:5 (3 by maintainers)
Top 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 >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Thank you for the feedback! I expect that I’ll publish a new release within the next week.
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.