how to start app from Terminal with arguments

Hi

I know how to start a applescript .scpt file from terminal with arguments (using osascript), but I’m not able to start a application that i’ve made with Xcode (Applescript app) from terminal with arguments.
I could start the app using the execution path, e.g. development/Test/build/Development/Test.app/Contents/MacOS/Test
but if i try to give arguments, nothing happens

I also tried:
/usr/bin/osascript development/Test/build/Development/Test.app/Contents/MacOS/Test -r but then the following error occurs:
development/Test/build/Development/Test.app/Contents/MacOS/Test:0:1: script error: A unknown token can’t go here. (-2740)
and implemented the following handler:

on run argv
	return 45
end run

but still the same error.

Help is appreciated!