fresh icon indicating copy to clipboard operation
fresh copied to clipboard

Support for passing args

Open owickstrom opened this issue 11 years ago • 8 comments

I'm running a martini server using fresh and I need to pass some command line args to my program, but can't find any support for it.

It would be great with either a command line switch for the fresh command:

fresh -a "--my-custom-arg=123 --and-another=true"

... or an option in the config file:

args: --my-custom-arg=123 --and-another=true

Perhaps both?

owickstrom avatar Apr 28 '14 15:04 owickstrom

I created a pull request for this feature: https://github.com/pilu/fresh/pull/10. I have tested it with a single command line arg. https://github.com/lateefj/fresh if there are any fixes let me know.

lateefj avatar May 07 '14 04:05 lateefj

+1

vorandrew avatar Mar 16 '16 14:03 vorandrew

@lateefj if you can rebase I can check again and then merge your PR

gravityblast avatar Mar 16 '16 15:03 gravityblast

Any movement on this? This would be a really-nice-to-have™

jhartman86 avatar Dec 06 '17 06:12 jhartman86

@jhartman86 I have updated my PR (#10). @pilu not sure how I missed this message last year sorry.

lateefj avatar Dec 06 '17 16:12 lateefj

Any news on this feature? It's awesome and very usefull for commands and much more

aferrandini avatar Sep 18 '18 11:09 aferrandini

@aferrandini You install based on my fork since it doesn't look my PR is going to get merged to master

lateefj avatar Nov 21 '18 18:11 lateefj

This would be incredibly useful. What's blocking it?

joaocarmo avatar Jul 13 '21 15:07 joaocarmo