WSO2 Developer Platform Command-Line Interface (CLI) Overview¶
The WSO2 Developer Platform command-line interface (CLI) is a command-line tool that helps you easily work with WSO2 Developer Platform using commands. By utilizing commands, it significantly improves the development experience for WSO2 Developer Platform users. This versatile tool simplifies different stages of the development process, making interactions more efficient and user-friendly.
WSO2 Developer Platform serves as a comprehensive internal platform-as-a-service. The WSO2 Developer Platform CLI serves as a pivotal tool aimed at enhancing its capabilities. With the WSO2 Developer Platform CLI, you can leverage the following benefits:
-
Streamline Deployment Processes: WSO2 Developer Platform CLI simplifies the entire process from creating a component in WSO2 Developer Platform, building it, to deploying, testing, and monitoring independent of the language and framework used to implement the component.
-
Versatile workflow across frameworks: Regardless of your chosen framework, WSO2 Developer Platform CLI offers a uniform end-to-end process. WSO2 Developer Platform seamlessly integrates with different web application types (SPA, SSR, SSG, or simple static files), services (REST, GraphQL, gRPC), scheduled jobs, manual triggers, API proxies and more. This versatility enables you to orchestrate a wide range of cloud-native components seamlessly.
Key features of the WSO2 Developer Platform CLI¶
-
Create and Manage Resources: Simplify project and component management. You can easily initiate and organize projects in WSO2 Developer Platform through simple commands.
-
Create Builds and Deployments: Simplifies the process of creating builds and deploying components. You can build and promote components to environments easily with simple commands, ensuring a seamless transition from development to deployment.
Note
The WSO2 Developer Platform CLI currently supports the following component types:
- Service
- Web Application
- Webhook
- Scheduled Task
- Manual Task
- API Proxy
-
Monitor with Logs : The integrated log functionality in the WSO2 Developer Platform CLI allows you to effectively monitor your components. You can access valuable insights into your components behavior and performance directly from the command line.
-
Develop with Remote Dependencies : Use the WSO2 Developer Platform CLI or VS Code extension to securely connect your local setup to WSO2 Developer Platform environment for integrated testing and validation — see the guide for details.
For troubleshooting tips and answers to frequently asked questions, see the WSO2 Developer Platform CLI FAQ.