gws.base.action.cli¶
CLI commands to invoke and profile web actions.
Source code: gws.base.action.cli
Module Contents¶
- class gws.base.action.cli.InvokeRequest(*args, **kwargs)¶
Bases:
gws.RequestParameters of the
actionInvokeandactionProfileCLI commands.
- class gws.base.action.cli.Object¶
Bases:
gws.NodeCLI commands for web actions.
Invokes an API command from the command line and prints the response, or runs it with the profiler and saves the statistics.
- invoke(p: InvokeRequest)¶
Invoke an API command and print the response as JSON.
- profile(p: InvokeRequest)¶
Run an API command with the profiler and save the statistics.