Details
-
Sub-task
-
Resolution: Duplicate
-
Major
-
None
-
None
-
None
-
Service Team-Sprint 30, RHMDS - Sprint 31, RHMDS - Sprint 32, RHMDS - Sprint 33
Description
AG CLI commands
Global parameters:
- "-n" : sets the namespace context
- "-o": sets the output format (we can support only json for now)
- "-h": shows help for a subcommand
help
Shows the cli help text.
ag help
app
App subcommands that manages the mobile client resource.
init
Initializes a mobile client resource file in .ag folder using the name provided.
ag app init $name
list
Lists all created mobile clients in a namespace.
aga app list
delete
Deletes a mobie client in a namespace.
ag app delete $name
service
Handles mobile services
init
Initializes a service resource file in the .ag folder based on its type and specific parameters.
Note: each service type may need to be a subcommand in its own.
ag service init $service_type --param1=value1 --param2=value2
list
List all available mobile services from a cluster.
ag service list
delete
Deletes a service binding from a mobile client using the local mobile client resource as reference.
ag service delete $name
version
Shows the CLI version.
ag version
push
Pushes all local resources in .ag folder into a namespace.
ag push