@@ -19,8 +19,9 @@ def main() -> None: # noqa: PLR0911,C901
1919
2020 parser = argparse .ArgumentParser (
2121 prog = "zap" ,
22- description = "A Python tool for API testing and development in your terminal ." ,
22+ description = "An API Client for the terminal. A Python CLI for API testing and development." ,
2323 )
24+
2425 subparser = parser .add_subparsers (
2526 title = "commands" ,
2627 dest = "command" ,
@@ -34,9 +35,8 @@ def main() -> None: # noqa: PLR0911,C901
3435 run .add_argument ("-d" , "--download" , action = "store_true" , help = "💾 download the response body" )
3536 run .add_argument ("-q" , "--quiet" , action = "store_true" , help = "🤫 suppress output" )
3637 run .add_argument ("-v" , "--verbose" , action = "store_true" , help = "🐞 enable debug logging" , default = False )
37- run .add_argument ("--curl" , action = "store_true" , help = "🌊 print the curl command" )
3838 run .add_argument ("path" , type = str , help = "🐍 the Zapfile to execute" , nargs = "?" , default = None )
39- curl = subparser .add_parser ("curl" , help = "🌊 print curl command" )
39+ curl = subparser .add_parser ("curl" , help = "🌊 print the curl command for a Zapfile " )
4040 curl .add_argument ("-e" , "--env" , type = str , help = "🌐 API environment to use (default=default)" , default = "default" )
4141 curl .add_argument ("path" , type = str , help = "🐍 the Zapfile to print the curl command" )
4242 subparser .add_parser ("cookies" , help = "🍪 view stored cookies" )
0 commit comments