Jump to content

Workflow for building a terminal command


Recommended Posts

Hey,

 

I wanted to create simple workflow for building a command with parameters for terminal, eg.:

logs my-log-group --since 24h | grep 'XYZ'

 

where 'logs' is a keyword, 'my-log-group' is selectable from a list, and further options are optional.

So far, I've made the first step where I used script filter to load and show 'my-log-group' options.

 

How to configure the workflow to add other options? I've made all tutorials and I read a few document pages but I still cannot get this to work.

What other workflow elements I need to use to add optional options and eventually run the command?

 

SCR-20231217-dblq.thumb.png.2fa327dc00a2dc40d4162e532a18ff64.png

 

SCR-20231217-cvdo.thumb.png.c6b22b09a1a09635815855e27cbe1589.png

 

 

 

 

 

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...