CLI for Importing and Exporting APIs and Applications and Managing WSO2 Micro Integrator

For WSO2 API Manager 4.1.0

Command Line tool for importing and exporting APIs/Applications/API Products in between different API environments of WSO2 API Manager and managing WSO2 Micro Integrator

Getting Started


Usage

     apictl [command]

Global Flags

      --verbose
           Enable verbose logs (Provides more information on execution)
      --insecure, -k
          Allow connections to SSL sites without certs
      --help, -h
          Display information and example usage of a command

Commands

        Flags:
            Required:
                --file, -f
                --environment, -e
            Optional:
                --rotate-revision
                --skip-deployments
                --params
                --preserve-provider
                --update
                --skip-cleanup
        Examples:
                apictl import api -f qa/TwitterAPI.zip -e dev
                apictl import api -f staging/FacebookAPI.zip -e production
                apictl import api -f ~/myapi -e production --update
                apictl import api -f ~/myapi -e production --update --rotate-revision
        Flags:
            Required
                  --file, -f
                  --environment, -e
            Optional
                  --skip-subscriptions, -s
                  --owner, -o
                  --preserve-owner, -r
                  --file, -f
                  --environment, -e
                  --skip-cleanup
                  --skip-keys
                  --update
        Examples:
            apictl import app -f qa/apps/sampleApp.zip -e dev
            apictl import app -f staging/apps/sampleApp.zip -e prod -o testUser -u admin -p admin
            apictl import app -f qa/apps/sampleApp.zip --preserve-owner --skip-subscriptions -e staging
      
            Examples:
                apictl remove env dev
        Flags
            --environment, -e
        Examples:
            apictl reset-user -e dev