h1. 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
h2. help
Shows the cli help text.
{code:bash} ag help {code}
h2. app
App subcommands that manages the mobile client resource.
h3. init
Initializes a mobile client resource file in .ag folder using the name provided.
{code:bash} ag app init $name {code}
h3. list
Lists all created mobile clients in a namespace. {code:bash} aga app list {code}
h3. delete
Deletes a mobie client in a namespace.
{code:bash} ag app delete $name {code}
h2. service
Handles mobile services
h3. 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.
{code:bash} ag service init $service_type --param1=value1 --param2=value2 {code}
h3. list
List all available mobile services from a cluster. {code:bash} ag service list {code}
h3. delete
Deletes a service binding from a mobile client using the local mobile client resource as reference.
{code:bash} ag service delete $name {code}
h2. version
Shows the CLI version.
{code:bash} ag version {code}
h2. push
Pushes all local resources in .ag folder into a namespace.
{code:bash} ag push {code}
|
|