Input Attributes in Shell Scripts

I am a total noob with scripting – but learned a lot in the last three weeks since I got Hazel: and I really love how it works with Hazel and what it can do. Just for my understanding: is there a reason why you cannot inputAttributes in shell scripts like $1, $2, $3?
In some cases that would be really lovely to have. For example in adding different metadata to files with shell script.
In some cases that would be really lovely to have. For example in adding different metadata to files with shell script.